Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetworkAdapter class

Represents a network adapter.

Syntax


var networkAdapter = get_NetworkAdapter();

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 (Windows 10 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 (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object

 

 

Show:
© 2015 Microsoft