Edit

Share via


RealTimeConnectionManager.GetLocalMachineFqdn Method

Definition

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.

Applies to