UtilitiesisLocalhostname Method |
Determines if the specified Hostname is a either 'localhost' or an IPv4 or IPv6 loopback literal
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static bool isLocalhostname(
string sHostname
)
Public Shared Function isLocalhostname (
sHostname As String
) As Boolean
public:
static bool isLocalhostname(
String^ sHostname
)
Parameters
- sHostname
- Type: SystemString
Hostname (no port)
Return Value
Type:
BooleanTRUE if the hostname is equivalent to localhost
See Also