Esempio n. 1
0
 /// <summary>
 /// Constructs a new Network Device based on a IP_ADAPTER_INFO struct.
 /// </summary>
 internal NetworkDevice(IPHelper.IP_ADAPTER_INFO adapterInfo) : base(adapterInfo.AdapterName)
 {
     SetAfapterInfo(adapterInfo);
 }
Esempio n. 2
0
 private void SetAfapterInfo(IPHelper.IP_ADAPTER_INFO adapterInfo)
 {
     m_adapterInfo=adapterInfo;
     m_ipAddressList = GetIpAddressList( adapterInfo.IpAddressList );
     m_gatewaysList = GetIpGateways( adapterInfo.GatewayList );
 }
Esempio n. 3
0
 private void SetAfapterInfo(IPHelper.IP_ADAPTER_INFO adapterInfo)
 {
     m_adapterInfo   = adapterInfo;
     m_ipAddressList = GetIpAddressList(adapterInfo.IpAddressList);
     m_gatewaysList  = GetIpGateways(adapterInfo.GatewayList);
 }