public static bool GetIsNetworkAvailable() { return(NetworkInterfacePal.GetIsNetworkAvailable()); }
/// <summary> /// Returns objects that describe the network interfaces on the local computer. /// </summary> /// <returns>An array of all network interfaces on the local computer.</returns> public static NetworkInterface[] GetAllNetworkInterfaces() { return(NetworkInterfacePal.GetAllNetworkInterfaces()); }