VpnChannelActivityEventType Enum

Definition

Specifies the type of activity events.

public enum class VpnChannelActivityEventType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum VpnChannelActivityEventType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VpnChannelActivityEventType
var value = Windows.Networking.Vpn.VpnChannelActivityEventType.idle
Public Enum VpnChannelActivityEventType
Inheritance
VpnChannelActivityEventType
Attributes

Windows 10 requirements

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

Fields

Active 1

Mode in which traffic is currently being sent over the VPN channel.

Idle 0

Mode in which no traffic is being sent over the VPN channel.

Applies to