RaspberryIO_26/Swan.Tiny/Net/Network.cs
2019-12-10 20:20:45 +01:00

20 lines
558 B
C#

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