Пример #1
0
 public NetworkAdapter(ManagementScope mgmtScope, string keyDeviceID)
 {
     this.InitializeObject(((ManagementScope)(mgmtScope)), new ManagementPath(NetworkAdapter.ConstructPath(keyDeviceID)), null);
 }
Пример #2
0
 public NetworkAdapter(string keyDeviceID)
 {
     this.InitializeObject(null, new ManagementPath(NetworkAdapter.ConstructPath(keyDeviceID)), null);
 }