NetworkAdapter Class

表示网络适配器。

语法


Public NotInheritable Class NetworkAdapter

特性

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

成员

NetworkAdapter类 具有这些类型的成员:

方法

The NetworkAdapter 类 具有这些方法。 对于 C#、Visual Basic 和 C++,它还继承方法于Object 类.

方法说明
GetConnectedProfileAsync Gets the connection profile currently associated with the network adapter.

 

属性

NetworkAdapter类 具有这些属性。

属性访问类型说明

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.

 

要求

最低支持客户端

Windows 8 [Windows 应用商店应用程序, 桌面应用程序]

最低支持服务器

Windows Server 2012 [Windows 应用商店应用程序, 桌面应用程序]

最低支持电话

Windows Phone 8

命名空间

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

元数据

Windows.winmd

 

 

显示:
© 2015 Microsoft