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

Applies to Windows and Windows Phone

Represents a network adapter.

Syntax


Public NotInheritable Class 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

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

 

 

Show:
© 2014 Microsoft