NetworkTypes Enum

Definition

Defines the network connection types.

This enumeration supports a bitwise combination of its member values.

public enum class NetworkTypes
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class NetworkTypes
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum NetworkTypes
var value = Windows.Networking.Connectivity.NetworkTypes.none
Public Enum NetworkTypes
Inheritance
NetworkTypes
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Internet 1

Internet.

None 0

No network.

PrivateNetwork 2

Private network.

Applies to

See also