Utilities.isLocalhostname 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
Syntaxpublic static bool isLocalhostname(
string sHostname
)
Public Shared Function isLocalhostname (
sHostname As String
) As Boolean
public:
static bool isLocalhostname(
String^ sHostname
)
Parameters
- sHostname
- Type: System.String
Hostname (no port)
Return Value
Type:
BooleanTRUE if the hostname is equivalent to localhost
See Also