public static EthernetAdapterType GetAdapterTypeForAddress(this IPAddress address)
        {
            if (address == null)
            {
                throw new ArgumentNullException("address");
            }

            if (address.Equals(IPAddress.Broadcast) || address.Equals(IPAddress.Any) || address.Equals(IPAddress.Loopback) || address.Equals(IPAddress.None) || address.IsIPv4Multicast())
            {
                return(EthernetAdapterType.EthernetUnknownAdapter);
            }

            return(CrestronEthernetHelper.GetAdapterTypeForSpecifiedId(address.GetAdapterIdForAddress()));
        }