State Property
      
 

Description

Holds current VPN state.

Property type

A StatesEnum enumeration.  

Syntax

object.State

The State Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type wodVPN.

Remarks

State property returns current wodVPN state. If wodVPN is completely idle, State will hold Disconnected value. As soon as wodVPN starts with some activity, StateChange event will be fired where you can keep track on wodVPN's behavior.