大网数据广告活动
性能与资源

SystemConfig_V0_NIC class

· 52CE 我爱测

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

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

SystemConfig_V0

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。