MediaStatus Property
      
 

Description

Sets media status (connected or disconnected).

Property type

A Boolean value.  

Syntax

object.MediaStatus = value

The MediaStatus Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type VPNInterface.
valueA Boolean value.

Remarks

MediaStatus is a write-only property you can use to set network adapter's status to 'Connected' (when set to True), or 'Disconnected' (when set to False). When adapter is disconnected, you will see it with red cross marked on it when you open network devices - it behaves like network cable is unplugged from it. wodVPN will not Disconnect it when wodVPN closes, so if you wish you can do it manually on program exit. wodVPN will Connect it (since it is neccessary for wodVPN to operate) when RedirectActive property is set to True.