using System; using System.Net.NetworkInformation; namespace Swan.Net { /// /// Provides miscellaneous network utilities such as a Public IP finder, /// a DNS client to query DNS records of any kind, and an NTP client. /// public static class Network { /// /// Gets the name of the host. /// /// /// The name of the host. /// // [Obsolete("NEED", false)] public static String HostName => IPGlobalProperties.GetIPGlobalProperties().HostName; } }