
State property
Returns current devVPN state.
Type
States enumeration.Syntax
- C#
- C++
- VB.NET
int devVPN.GetState(IntPtr Handle);
The State(Handle) syntax has these parts:
The State(Handle) syntax has these parts:
Handle | Reference to the devVPN instance. |
Return value | Current state from States enumeration. |
Function VPN_GetState(ByVal Handle As IntPtr) As Integer
The State(Handle) syntax has these parts:
The State(Handle) syntax has these parts:
Handle | Reference to the devVPN instance. |
Return value | Current state from States enumeration. |
Remarks
State property returns current devVPN state. If devVPN is completely idle, State will hold StateStopped value. As soon as devVPN starts with some activity, StateChange event will fire where you can keep track on devVPN's behavior.Platforms
WindowsMac OSX
Linux
BSD
iPhone IOS