API Reference
Class
LocalHost
Utilities for reasoning about the local host identity (short name, FQDN, localhost forms).
Inheritance
- Object
- LocalHost
Methods
public static Boolean IsLocal(String host) #Returns:
BooleanReturns true when the provided host string refers to the local machine.
Parameters
- host System.String
- Hostname or IP address; accepts '.', 'localhost', short/FQDN, or local IPs.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object