Re: dotnet 1.1 to 2.0 - WeOnlyDo Discussion board

Re: dotnet 1.1 to 2.0 (General questions)

by cc, Thursday, June 12, 2008, 05:33 (5806 days ago) @ woddrazen

I have tried with VS.net 2005 but gave me this exception

System.ComponentModel.LicenseException: An instance of type 'WeOnlyDo.Client.SFTP' was being created, and a valid license could not be granted for the type 'WeOnlyDo.Client.SFTP'. Please, contact the manufacturer of the component for more information.
at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
at ..()
at WeOnlyDo.Client.SFTP.Connect()
at TestSFTP.Form1.btnLogin_Click(Object sender, EventArgs e)

[code]
sftp = New SFTP
Try
With sftp
.Hostname = txtIP.Text.Trim
.Login = txtUID.Text.Trim
.Password = txtPWD.Text.Trim
.Authentication = WeOnlyDo.Client.SFTP.Authentications.Password
.Connect()
While Not .State = WeOnlyDo.Client.SFTP.States.Idle
txtStatus.Text = SFTP connecting
End While
If .State = WeOnlyDo.Client.SFTP.States.Idle Then txtStatus.Text = SFTP connected
End With
Catch ex As Exception
Console.WriteLine(ex)
End Try

[/code]


Complete thread: