When you are using a client component:
You should set LicenseKey Property after you initialize component, but before you call Connect Method.
Example:
Dim WithEvents Sftp As wodSFTPCom
Private Sub Form_Load()
Sftp.LicenseKey = "xxxx...xxxx"
Sftp.Hostname = "put.your.hostname"
Sftp.Login = "put.your.login"
Sftp.Password = "put.your.password"
Sftp.Connect
End Sub
When you are using a server component:
You should set it up after you initialize component, but before you call Start Method.
Example:
Dim WithEvents Web1 As wodWebServerCom
Private Sub Form_Load()
Set Web1 = New wodWebServerCom
Web1.LicenseKey = "xxxx....xxxxx"
Web1.Start
End Sub