NetworkAdapter class

Represents a network adapter.

Syntax


var networkAdapter = get_NetworkAdapter();

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The NetworkAdapter class has these types of members:

Methods

The NetworkAdapter class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetConnectedProfileAsync Gets the connection profile currently associated with the network adapter.

 

Properties

The NetworkAdapter class has these properties.

PropertyAccess typeDescription

IanaInterfaceType

Read-onlyGets a value indicating the network interface type as defined by the Internet Assigned Names Authority (IANA) for the NetworkAdapter.

InboundMaxBitsPerSecond

Read-onlyGets a value indicating the maximum inbound data transfer rate in bits per second.

NetworkAdapterId

Read-onlyGets the network adapter ID.

NetworkItem

Read-onlyGets the NetworkItem object that represents the connected network.

OutboundMaxBitsPerSecond

Read-onlyGets a value indicating the maximum outbound speed in bits per second.

 

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2015 Microsoft