ProxySocket.IsValidHost Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
IsValidHost(String)
Checks whether the host address is a valid hostname or IP address.
Declaration
public static bool IsValidHost(string host)
Parameters
Type | Name | Description |
---|---|---|
String | host | Host name or IP address. |
Returns
Type | Description |
---|---|
Boolean | True if valid, false if otherwise. |