Checks whether the host address is a valid hostname or IP address.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Public Shared Function IsValidHost ( _ host As String _ ) As Boolean |
C# |
---|
public static bool IsValidHost( string host ) |
Parameters
- host
- Type: System..::..String
Host name or IP address.