Chameleon and Iguana Plugin C# Class Libraries

LlpConnection.RemoteHostName Property

This property will resolve the remoteIpAddress to the host name if possible using the operating system. Sometimes no host name resolution will be possible at which point this function will return 'unknown'.

[Visual Basic]
Public ReadOnly Property RemoteHostName As String
[C#]
public string RemoteHostName {get;}

Remarks

For the first time this method is called, it blocks until the name is resolved. This means that if you make the call in the context of your message loop your application will appear to freeze for a few seconds.

Subsequent calls will return immediately with a cached value.

For more advanced functionality you may wish to use other facilities to resolve the host name outside of the functionality offered here.

See Also

LlpConnection Class | iNTERFACEWARE.Chameleon Namespace