SystemConfig_V0_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_V0_NIC : SystemConfig_V0
{
char16 NICName[];
uint32 Index;
uint32 PhysicalAddrLen;
char16 PhysicalAddr;
uint32 Size;
sint32 IpAddress;
sint32 SubnetMask;
sint32 DhcpServer;
sint32 Gateway;
sint32 PrimaryWinsServer;
sint32 SecondaryWinsServer;
sint32 DnsServer1;
sint32 DnsServer2;
sint32 DnsServer3;
sint32 DnsServer4;
uint32 Data;
};
Members
The SystemConfig_V0_NIC class has these types of members:
Properties
The SystemConfig_V0_NIC class has these properties.
-
Data
-
-
Data type: uint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (16)
Data field.
-
-
DhcpServer
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (8)
IP address of the dynamic host configuration protocol (DHCP) server. A value of 255.255.255.255 indicates the DHCP server could not be reached, or is in the process of being reached. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
-
DnsServer1
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (12)
First server IP addresses to be used in querying for DNS servers. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
-
DnsServer2
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (13)
Second server IP addresses to be used in querying for DNS servers. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
-
DnsServer3
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (14)
Third server IP addresses to be used in querying for DNS servers. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
-
DnsServer4
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (15)
Fourth server IP addresses to be used in querying for DNS servers. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
-
Gateway
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (9)
IP address of default gateway that the computer system uses. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
-
Index
-
-
Data type: uint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (2)
Adapter index. The adapter index may change when an adapter is disabled and then enabled, or under other circumstances, and should not be considered persistent.
-
-
IpAddress
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (6)
IP addresses associated with the network interface card. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
-
NICName
-
-
Data type: char16 array
-
Access type: Read-only
-
Qualifiers: WmiDataId (1), Max (256)
Name of the network interface card.
-
-
PhysicalAddr
-
-
Data type: char16
-
Access type: Read-only
-
Qualifiers: WmiDataId (4), Max (8)
Hardware address for the adapter.
-
-
PhysicalAddrLen
-
-
Data type: uint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (3)
Length of the hardware address for the adapter.
-
-
PrimaryWinsServer
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (10)
IP address for the primary WINS server. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
-
SecondaryWinsServer
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (11)
IP address for the secondary WINS server. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
-
Size
-
-
Data type: uint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (5)
Size, in bytes, of the Data property.
-
-
SubnetMask
-
-
Data type: sint32
-
Access type: Read-only
-
Qualifiers: WmiDataId (7)
Subnet mask associated with the network interface card. Each byte of the sint32 represents one of the four parts of the IP address (p1.p2.p3.p4). The low-order byte contains the value for p1, the next byte contains the value for p2, and so on.
-
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
See also