SystemConfig_NIC class

This class is the event type class for network interface card configuration events.

The following syntax is simplified from MOF code.

Syntax

[EventType(13), EventTypeName("NIC")]
class SystemConfig_NIC : SystemConfig
{
  uint64 PhysicalAddr;
  uint32 PhysicalAddrLen;
  uint32 Ipv4Index;
  uint32 Ipv6Index;
  string NICDescription;
  string IpAddresses;
  string DnsServerAddresses;
};

Members

The SystemConfig_NIC class has these types of members:

Properties

The SystemConfig_NIC class has these properties.

DnsServerAddresses

Data type: string

Access type: Read-only

Qualifiers: WmiDataId(7), StringTermination("NullTerminated"), Format("w")

IP addresses to be used in querying for DNS servers. The list of addresses is comma-delimited.

IpAddresses

Data type: string

Access type: Read-only

Qualifiers: WmiDataId(6), StringTermination("NullTerminated"), Format("w")

IP addresses associated with the network interface card. The list of addresses is comma-delimited.

Ipv4Index

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(3)

Adapter index for IPv4 NIC. The adapter index may change when an adapter is disabled and then enabled, or under other circumstances, and should not be considered persistent.

Ipv6Index

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(4)

Adapter index for IPv6 NIC. The adapter index may change when an adapter is disabled and then enabled, or under other circumstances, and should not be considered persistent.

NICDescription

Data type: string

Access type: Read-only

Qualifiers: WmiDataId(5), StringTermination("NullTerminated"), Format("w")

Description of the adapter.

PhysicalAddr

Data type: uint64

Access type: Read-only

Qualifiers: WmiDataId(1), Format("x")

Hardware address for the adapter.

PhysicalAddrLen

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(2)

Length of the hardware address for the adapter.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

SystemConfig