NetworkAdapter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the networkAdapter on a device.
public class NetworkAdapter
type NetworkAdapter = class
Public Class NetworkAdapter
- Inheritance
-
NetworkAdapter
Constructors
NetworkAdapter() |
Initializes a new instance of the NetworkAdapter class. |
NetworkAdapter(String, NetworkAdapterPosition, Nullable<Int32>, String, String, String, String, Nullable<Int64>, String, String, String, Ipv4Config, Ipv6Config, String, IList<String>) |
Initializes a new instance of the NetworkAdapter class. |
Properties
AdapterId |
Gets instance ID of network adapter. |
AdapterPosition |
Gets hardware position of network adapter. |
DhcpStatus |
Gets or sets value indicating whether this adapter has DHCP enabled. Possible values include: 'Disabled', 'Enabled' |
DnsServers |
Gets the list of DNS Servers of the device. |
Index |
Gets logical index of the adapter. |
Ipv4Configuration |
Gets the IPv4 configuration of the network adapter. |
Ipv6Configuration |
Gets the IPv6 configuration of the network adapter. |
Ipv6LinkLocalAddress |
Gets the IPv6 local address. |
Label |
Gets hardware label for the adapter. |
LinkSpeed |
Gets link speed. |
MacAddress |
Gets MAC address. |
NetworkAdapterName |
Gets network adapter name. |
NodeId |
Gets node ID of the network adapter. |
RdmaStatus |
Gets or sets value indicating whether this adapter is RDMA capable. Possible values include: 'Incapable', 'Capable' |
Status |
Gets value indicating whether this adapter is valid. Possible values include: 'Inactive', 'Active' |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應