public NetworkAdapter(ManagementScope mgmtScope, string keyDeviceID) { this.InitializeObject(((ManagementScope)(mgmtScope)), new ManagementPath(NetworkAdapter.ConstructPath(keyDeviceID)), null); }
public NetworkAdapter(string keyDeviceID) { this.InitializeObject(null, new ManagementPath(NetworkAdapter.ConstructPath(keyDeviceID)), null); }