NetSamples.Common.Management
Class NetworkAdapter

Represents a Network adapter

Field Summary
System.Management.ManagementObject adapter
NetSamples.Common.Management.NetworkAdapter[] adapters
NetSamples.Common.Management.NetworkAdapterConfiguration[] configurations
NetSamples.Common.Management.NetworkProtocol[] protocols

Constructor Summary
NetworkAdapter(System.Management.ManagementObject mgmtobject)
         Constructor - private visibility

Property Summary
NetSamples.Common.Management.NetworkAdapter[] Adapters
         The collection of network adapters
string AdapterType
         Adapter type
ushort Availability
         Availability
string Caption
         Caption
uint ConfigManagerErrorCode
         Configuration error code
bool ConfigManagerUserConfig
         User configuration
NetSamples.Common.Management.NetworkAdapterConfiguration[] Configurations
         The collection of Network adapter configurations
string CreationClassName
         Class name
string Description
         Description
string DeviceID
         Device ID
uint Index
         Adapter index
string InstallDate
         Install Date
bool Installed
         Install status
object Item[string key]
         Indexer - retrieve the adapter with the specified name
string MACAddress
         MAC address
string Manufacturer
         Manufacturer
uint MaxNumberControlled
         To be supplied
string Name
         Name
string[] NetworkAddresses
         The network addresses for the Adapter
string PermanentAddress
         Permanent Address
string PNPDeviceID
         Plug and Play Device ID
ushort[] PowerManagementCapabilities
         Detailed Power Management capabilities
bool PowerManagementSupported
         Power management support
string ProductName
         Product Name
NetSamples.Common.Management.NetworkProtocol[] Protocols
         Bound network protocols
string ServiceName
         Service name
ulong Speed
         Speed
string Status
         Status
ushort StatusInfo
         Status information
string SystemCreationClassName
         Class name
string SystemName
         System Name
string TimeOfLastReset
         Last Reset time

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

adapter

private System.Management.ManagementObject adapter


adapters

private NetSamples.Common.Management.NetworkAdapter[] adapters


configurations

private NetSamples.Common.Management.NetworkAdapterConfiguration[] configurations


protocols

private NetSamples.Common.Management.NetworkProtocol[] protocols

Constructor Detail

NetworkAdapter

private NetworkAdapter(System.Management.ManagementObject mgmtobject)

Constructor - private visibility

Property Detail

Adapters

public NetSamples.Common.Management.NetworkAdapter[] Adapters

The collection of network adapters


AdapterType

public string AdapterType

Adapter type


Availability

public ushort Availability

Availability


Caption

public string Caption

Caption


ConfigManagerErrorCode

public uint ConfigManagerErrorCode

Configuration error code


ConfigManagerUserConfig

public bool ConfigManagerUserConfig

User configuration


Configurations

public NetSamples.Common.Management.NetworkAdapterConfiguration[] Configurations

The collection of Network adapter configurations


CreationClassName

public string CreationClassName

Class name


Description

public string Description

Description


DeviceID

public string DeviceID

Device ID


Index

public uint Index

Adapter index


InstallDate

public string InstallDate

Install Date


Installed

public bool Installed

Install status


Item

public object this[string key]

Indexer - retrieve the adapter with the specified name


MACAddress

public string MACAddress

MAC address


Manufacturer

public string Manufacturer

Manufacturer


MaxNumberControlled

public uint MaxNumberControlled

To be supplied


Name

public string Name

Name


NetworkAddresses

public string[] NetworkAddresses

The network addresses for the Adapter


PermanentAddress

public string PermanentAddress

Permanent Address


PNPDeviceID

public string PNPDeviceID

Plug and Play Device ID


PowerManagementCapabilities

public ushort[] PowerManagementCapabilities

Detailed Power Management capabilities


PowerManagementSupported

public bool PowerManagementSupported

Power management support


ProductName

public string ProductName

Product Name


Protocols

public NetSamples.Common.Management.NetworkProtocol[] Protocols

Bound network protocols


ServiceName

public string ServiceName

Service name


Speed

public ulong Speed

Speed


Status

public string Status

Status


StatusInfo

public ushort StatusInfo

Status information


SystemCreationClassName

public string SystemCreationClassName

Class name


SystemName

public string SystemName

System Name


TimeOfLastReset

public string TimeOfLastReset

Last Reset time