RasConnectionStatus Properties

DotRas SDK

Collapse image Expand Image Copy image CopyHover image

The RasConnectionStatus type exposes the following members.

Properties

  Name Description
Public property ConnectionState
Gets the current connection state.
Public property ConnectionSubState
Gets the state information of an Internet Key Exchange version 2 (IKEv2) virtual private network (VPN) tunnel.
Public property Device
Gets the device through which the connection has been established.
Public property ErrorCode
Gets the error code (if any) that occurred which caused a failed connection attempt.
Public property ErrorMessage
Gets the error message for the ErrorCode that occurred.
Public property LocalEndPoint
Gets the local client endpoint information of a virtual private network (VPN) tunnel.
Public property PhoneNumber
Gets the phone number dialed for this specific connection.
Public property RemoteEndPoint
Gets the remote server endpoint information of a virtual private network (VPN) tunnel.

See Also