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

SystemConfig_NIC class

· 52CE 我爱测

This class is the event type class for network interface card configuration events. The following syntax is simplified from MOF code.

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

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)

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

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