public override IPv6InterfaceProperties GetIPv6Properties()
        {
            Win32_MIB_IFROW       win32_MIB_IFROW    = mib6;
            Win32_IP_ADAPTER_INFO adapterInfoByIndex = Win32NetworkInterface2.GetAdapterInfoByIndex(win32_MIB_IFROW.Index);

            return((adapterInfoByIndex == null) ? null : new Win32IPv6InterfaceProperties(mib6));
        }
Esempio n. 2
0
        public override IPv6InterfaceProperties GetIPv6Properties()
        {
            Win32_IP_ADAPTER_INFO v6info = Win32NetworkInterface2.GetAdapterInfoByIndex(mib6.Index);

            return(v6info != null ? new Win32IPv6InterfaceProperties(mib6) : null);
        }
Esempio n. 3
0
        public override IPv4InterfaceProperties GetIPv4Properties()
        {
            Win32_IP_ADAPTER_INFO v4info = Win32NetworkInterface2.GetAdapterInfoByIndex(mib4.Index);

            return(v4info != null ? new Win32IPv4InterfaceProperties(v4info, mib4) : null);
        }