Dns Class
NuGet: GHIElectronics.TinyCLR.Networking
Assembly: GHIElectronics.TinyCLR.Networking
Namespace: System.Net
Provides simple host name resolution functionality.
public static class Dns
Methods
GetHostName()
public static string GetHostName()
Returns the host name of the local device.
Returns string
GetHostAddresses(string hostNameOrAddress)
public static IPAddress[] GetHostAddresses(string hostNameOrAddress)
Resolves a host name or IP address to an array of IP addresses.
Returns IPAddress[]
GetHostEntry(string hostNameOrAddress)
public static IPHostEntry GetHostEntry(string hostNameOrAddress)
Resolves a host name or IP address to an IPHostEntry containing its addresses.
Returns IPHostEntry