Instance Property

connectedDate

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

Declaration

var connectedDate: Date? { get }

Discussion

This property contains the date and time when the connection status changed to NEVPNStatusConnected after previously being set to NEVPNStatusDisconnected. This property is set to nil whenever the status changes to NEVPNStatusDisconnected.

See Also

Getting VPN Connection Status

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