Share via


NetworkAdapter Class

Definition

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