Partager via


NetworkAdapter Class

Definition

Provides information about a network adapter

public ref class NetworkAdapter
[Windows::Foundation::Metadata::WebHostHidden]
class NetworkAdapter
public class NetworkAdapter
type NetworkAdapter = class
Public Class NetworkAdapter
Inheritance
NetworkAdapter

Constructors

NetworkAdapter()

Properties

ConnectionID

Name of the network connection as it appears in the Network Connections Control Panel program

ConnectionStatus

State of the network adapter connection to the network

Description

Description of the network adapter

DHCPEnabled

Indicates whether the DHCP server automatically assigns an IP address to the computer system when establishing a network connection

DHCPServer

IP Address of the DHCP server

IPAddresses

Array of all of the IP addresses associated with the current network adapter.

Applies to