NetworkAdapter
NetworkAdapter
NetworkAdapter
NetworkAdapter
Class
Definition
Represents a network adapter.
public : sealed class NetworkAdapter : INetworkAdapterpublic sealed class NetworkAdapter : INetworkAdapterPublic NotInheritable Class NetworkAdapter Implements INetworkAdapter// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
IanaInterfaceType IanaInterfaceType IanaInterfaceType IanaInterfaceType
Gets a value indicating the network interface type as defined by the Internet Assigned Names Authority (IANA) for the NetworkAdapter.
public : unsigned int IanaInterfaceType { get; }public uint IanaInterfaceType { get; }Public ReadOnly Property IanaInterfaceType As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The interface type as defined by the Internet Assigned Names Authority (IANA).
The table below lists common values for the interface type although many other values are possible.
Remarks
This property represents the interface type as defined by the Internet Assigned Names Authority (IANA). For a list of possible values, see http://www.iana.org/assignments/ianaiftype-mib.
InboundMaxBitsPerSecond InboundMaxBitsPerSecond InboundMaxBitsPerSecond InboundMaxBitsPerSecond
Gets a value indicating the maximum inbound data transfer rate in bits per second.
public : ulong InboundMaxBitsPerSecond { get; }public ulong InboundMaxBitsPerSecond { get; }Public ReadOnly Property InboundMaxBitsPerSecond As ulong// You can use this property in JavaScript.
- Value
- ulong ulong ulong ulong
The maximum inbound transfer rate in bits per second.
Remarks
This value represents the maximum speed of the interface and is generally much higher than the actual transfer speed while receiving network data, particularly for wireless networks.
- See Also
NetworkAdapterId NetworkAdapterId NetworkAdapterId NetworkAdapterId
Gets the network adapter ID.
public : PlatForm::Guid NetworkAdapterId { get; }public Guid NetworkAdapterId { get; }Public ReadOnly Property NetworkAdapterId As Guid// You can use this property in JavaScript.
- Value
- PlatForm::Guid Guid Guid Guid
The network adapter ID.
NetworkItem NetworkItem NetworkItem NetworkItem
Gets the NetworkItem object that represents the connected network.
public : NetworkItem NetworkItem { get; }public NetworkItem NetworkItem { get; }Public ReadOnly Property NetworkItem As NetworkItem// You can use this property in JavaScript.
The connected network.
OutboundMaxBitsPerSecond OutboundMaxBitsPerSecond OutboundMaxBitsPerSecond OutboundMaxBitsPerSecond
Gets a value indicating the maximum outbound speed in bits per second.
public : ulong OutboundMaxBitsPerSecond { get; }public ulong OutboundMaxBitsPerSecond { get; }Public ReadOnly Property OutboundMaxBitsPerSecond As ulong// You can use this property in JavaScript.
- Value
- ulong ulong ulong ulong
The maximum outbound transfer rate in bits per second.
Remarks
This property represents the current speed in bits per second of the transmit link for the NetworkAdapter. This value represents the maximum speed of the interface and is generally much higher than the actual speed when sending network data on this link, particularly for wireless networks.
- See Also
Methods
GetConnectedProfileAsync() GetConnectedProfileAsync() GetConnectedProfileAsync() GetConnectedProfileAsync()
Gets the connection profile currently associated with the network adapter.
public : IAsyncOperation<ConnectionProfile> GetConnectedProfileAsync()public IAsyncOperation<ConnectionProfile> GetConnectedProfileAsync()Public Function GetConnectedProfileAsync() As IAsyncOperation( Of ConnectionProfile )// You can use this method in JavaScript.
The connection profile associated with this network adapter.