Instance Property

status

The current status of the VPN connection

Declaration

var status: NEVPNStatus { get }

Discussion

This property contains the current status of the VPN connection. See NEVPNStatus for a list of possible values.

See Also

Getting VPN Connection Status

var connectedDate: Date?

The date and time when the connection status changed to NEVPNStatusConnected.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software