53 internal SystemIPInterfaceProperties(in global::Interop.IpHlpApi.FIXED_INFO fixedInfo, in global::Interop.IpHlpApi.IpAdapterAddresses ipAdapterAddresses)
58 _dynamicDnsEnabled = (ipAdapterAddresses.flags & global::Interop.IpHlpApi.AdapterFlags.DnsEnabled) > (global::Interop.IpHlpApi.AdapterFlags)0;
60 _dnsAddresses = global::Interop.IpHlpApi.IpAdapterAddress.MarshalIpAddressCollection(ipAdapterAddresses.firstDnsServerAddress);
61 _anycastAddresses = global::Interop.IpHlpApi.IpAdapterAddress.MarshalIpAddressInformationCollection(ipAdapterAddresses.firstAnycastAddress);
63 _winsServersAddresses = global::Interop.IpHlpApi.IpAdapterAddress.MarshalIpAddressCollection(ipAdapterAddresses.firstWinsServerAddress);
66 if (ipAdapterAddresses.dhcpv4Server.address !=
IntPtr.
Zero)
70 if (ipAdapterAddresses.dhcpv6Server.address !=
IntPtr.
Zero)
74 if ((
_adapterFlags & global::Interop.IpHlpApi.AdapterFlags.IPv4Enabled) != 0)
78 if ((
_adapterFlags & global::Interop.IpHlpApi.AdapterFlags.IPv6Enabled) != 0)