API Reference
Class
DnsHelper
DNS convenience helpers for resolving host names and determining locality.
Inheritance
- Object
- DnsHelper
Methods
public static Boolean IsLocalHost(String host) #Returns:
BooleanDetermines whether the given host refers to the local computer (name, FQDN, or IP).
Parameters
- host System.String
public static String ResolveHost(String host) #Returns:
StringResolves a short host name to an FQDN when possible; returns the input when already FQDN or unresolved.
Parameters
- host System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object