Share via


NetworkAdapter Class

Definition

Represents a network adapter.

public ref class NetworkAdapter sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NetworkAdapter final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NetworkAdapter
Public NotInheritable Class NetworkAdapter
Inheritance
Object Platform::Object IInspectable NetworkAdapter
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

IanaInterfaceType

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

InboundMaxBitsPerSecond

Gets a value indicating the maximum inbound data transfer rate in bits per second.

NetworkAdapterId

Gets the network adapter ID.

NetworkItem

Gets the NetworkItem object that represents the connected network.

OutboundMaxBitsPerSecond

Gets a value indicating the maximum outbound speed in bits per second.

Methods

GetConnectedProfileAsync()

Gets the connection profile currently associated with the network adapter.

Applies to