Password Property
      
 

Description

Password used between wodVPN instances.

Property type

A String value.  

Syntax

object.Password [= value]

The Password Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type VPNRelay.
valueA String value.

Remarks

When Password property is set, your wodVPN instance is capable on "spying" connected peers since it knows the password they use. This allows you to check which ID is connected to your relay in RelayConnected event. When password is set, relays that don't use same password will be rejected.

If password isn't set, all peers will be able to connect to your relay.