Пример #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);
 }
Пример #2
0
 private void SetAfapterInfo(IPHelper.IP_ADAPTER_INFO adapterInfo)
 {
     m_adapterInfo=adapterInfo;
     m_ipAddressList = GetIpAddressList( adapterInfo.IpAddressList );
     m_gatewaysList = GetIpGateways( adapterInfo.GatewayList );
 }
Пример #3
0
 private void SetAfapterInfo(IPHelper.IP_ADAPTER_INFO adapterInfo)
 {
     m_adapterInfo   = adapterInfo;
     m_ipAddressList = GetIpAddressList(adapterInfo.IpAddressList);
     m_gatewaysList  = GetIpGateways(adapterInfo.GatewayList);
 }