Click or drag to resize
UtilitiesisLocalhost Method
This function cracks a sHostPort string to determine if the address refers to the local computer

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static bool isLocalhost(
	string sHostAndPort
)

Parameters

sHostAndPort
Type: SystemString
The string to evaluate, potentially containing a port

Return Value

Type: Boolean
True if the address is 127.0.0.1, 'localhost', or ::1
See Also