UtilitiesisLocalhost Method |
This function cracks a sHostPort string to determine if the address
refers to the local computer
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static bool isLocalhost(
string sHostAndPort
)
Public Shared Function isLocalhost (
sHostAndPort As String
) As Boolean
public:
static bool isLocalhost(
String^ sHostAndPort
)
Parameters
- sHostAndPort
- Type: SystemString
The string to evaluate, potentially containing a port
Return Value
Type:
BooleanTrue if the address is 127.0.0.1, 'localhost', or ::1
See Also