RealTimeConnectionManager.GetLocalMachineFqdn Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the local machine Fqdn.
public:
static System::String ^ GetLocalMachineFqdn();
public static string GetLocalMachineFqdn ();
static member GetLocalMachineFqdn : unit -> string
Public Shared Function GetLocalMachineFqdn () As String
Returns
Exceptions
Cannot retrieve the local computer name.
Remarks
The API provided by .Net (Dns.GetHostEntry) does not always get the right host name when provided with 'localHost' on multi NIC configurations.
To prevent issues, applications should get the local host FQDN using this provided API.