NetworkItem NetworkItem NetworkItem NetworkItem NetworkItem Class

Definition

Represents a connected network.

public : sealed class NetworkItem
struct winrt::Windows::Networking::Connectivity::NetworkItem
public sealed class NetworkItem
Public NotInheritable Class NetworkItem
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

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

NetworkId NetworkId NetworkId NetworkId NetworkId

Gets the network ID.

Methods

GetNetworkTypes() GetNetworkTypes() GetNetworkTypes() GetNetworkTypes() GetNetworkTypes()

Gets a NetworkTypes value indicating the network type for a NetworkItem.