Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SystemIPv4InterfaceProperties()

System.Net.NetworkInformation.SystemIPv4InterfaceProperties.SystemIPv4InterfaceProperties ( global::Interop::IpHlpApi::FIXED_INFO fixedInfo,
global::Interop::IpHlpApi::IpAdapterAddresses ipAdapterAddresses )
inlinepackage

Definition at line 35 of file SystemIPv4InterfaceProperties.cs.

36 {
37 _index = ipAdapterAddresses.index;
38 _routingEnabled = fixedInfo.enableRouting;
39 _dhcpEnabled = (ipAdapterAddresses.flags & global::Interop.IpHlpApi.AdapterFlags.DhcpEnabled) != 0;
40 _haveWins = ipAdapterAddresses.firstWinsServerAddress != IntPtr.Zero;
41 _mtu = ipAdapterAddresses.mtu;
42 GetPerAdapterInfo(ipAdapterAddresses.index);
43 }

References System.Net.NetworkInformation.SystemIPv4InterfaceProperties._dhcpEnabled, System.Net.NetworkInformation.SystemIPv4InterfaceProperties._haveWins, System.Net.NetworkInformation.SystemIPv4InterfaceProperties._index, System.Net.NetworkInformation.SystemIPv4InterfaceProperties._mtu, System.Net.NetworkInformation.SystemIPv4InterfaceProperties._routingEnabled, System.Net.NetworkInformation.SystemIPv4InterfaceProperties.GetPerAdapterInfo(), and System.IntPtr.Zero.