VpnChannelActivityStateChangedArgs.ActivityState Property

Definition

Gets a value identifying whether the VPN channel is idle or active.

public:
 property VpnChannelActivityEventType ActivityState { VpnChannelActivityEventType get(); };
VpnChannelActivityEventType ActivityState();
public VpnChannelActivityEventType ActivityState { get; }
var vpnChannelActivityEventType = vpnChannelActivityStateChangedArgs.activityState;
Public ReadOnly Property ActivityState As VpnChannelActivityEventType

Property Value

An enum value that indicates whether the VPN channel is idle or active.

Windows requirements

App capabilities
networkingVpnProvider

Applies to