Export (0) Print
Expand All
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.

NetworkItem class

Applies to Windows and Windows Phone

Represents a connected network.

Syntax


var networkItem = get_NetworkItem();

Attributes

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

Members

The NetworkItem class has these types of members:

Methods

The NetworkItem class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

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

 

Properties

The NetworkItem class has these properties.

PropertyAccess typeDescription

NetworkId

Read-onlyGets the network ID.

 

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.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft