Edit

Share via


NEVpnStatus Enum

Definition

Enumerates the state of a VPN connection.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public enum NEVpnStatus
type NEVpnStatus = 
Inheritance
NEVpnStatus
Attributes

Fields

Name Value Description
Invalid 0

The VPN configuration is invalid or disabled.

Disconnected 1

The VPN is disconnected.

Connecting 2

The VPN is in the process of attempting to connect.

Connected 3

The VPN is connected.

Reasserting 4

The VPN is in the process of reconnecting.

Disconnecting 5

The VPN is in the process of attempting to disconnect.

Applies to