C# LicenseKey property (General questions)

by jojo, (7248 days ago)

Could you please show me some sample code of how to set the licenseKey property? I'm trying to set it in C# and it's not working.
The client is still getting nag message.

Thanks,

locked

Re: C# LicenseKey property

by Jasmine, (7248 days ago) @ jojo

Jojo,

please remove wodSFTP.NET from your project, close VS, delete 'bin' and 'obj' cache directories, open VS and add wodSFTP.NET (licensed) back. Now you should see LicenseKey property where you can set your license key - make sure it's case sensitive.

Does that help?

locked

Re: C# LicenseKey property

by jojo, (7248 days ago) @ Jasmine

I tried what you suggested but no luck. I don't see a property to set. Quick view of events: I downloaded trial and built project with it. It works great, but I've got the nag message of this is a demo. When I finished with project I go to my manager and tell him we need to purchase. He says fine and purchases the software. I uninstalled the demo and installed the licensed version. I entered my license number when it asked during install. Any other help would be appreciated...

locked

Re: C# LicenseKey property

by Jasmine, (7248 days ago) @ jojo

Jojo,

what kind of project is it? Are you sure you installed licensed version? What does 'Version' property say exactly?

locked

Re: C# LicenseKey property

by jojo, (7248 days ago) @ Jasmine

It's a VS.NET C# using WeOnlyDo.Client.SFTP as a reference. When I do as you suggest Open VS and the re-reference WeOnlyDo.Client.SFTP I don't see the LicenseKey property. The property version says 2.0.7.1

locked

Re: C# LicenseKey property

by Jasmine, (7248 days ago) @ jojo

Jojo,

VS has cached somewhere properties from DEMO version.

If you quickly create new project and add reference to wodSFTP.NET, you see that LicenseKey is there, right?

locked

Re: C# LicenseKey property

by jojo, (7248 days ago) @ Jasmine

The only two files that I can reference from a project are WeOnlyDo.Client.SFTP.dll and WeOnlyDo.Security.Cryptography.KeyManager.dll. I've even did as you first instructed then I uninstalled the licensed version. I then rebooted and reinstalled the licensed version entering my key when asked. I still don't see a reference to wodSFTP.NET. I can send screen shots if that might help.

locked

Re: C# LicenseKey property

by Jasmine, (7248 days ago) @ jojo

WeOnlyDo.Client.SFTP.dll, yes, that's the one I was referring to. If you create new project and reference that one, does it have LicenseKey property?

locked

Re: C# LicenseKey property

by jojo, (7248 days ago) @ Jasmine

I tried with no luck. I did exactly as you instructed. I've got a screen shot if you'd like to see...

locked

Re: C# LicenseKey property

by Jasmine, (7248 days ago) @ jojo

Yes, plz send it to techsupport@weonlydo.com

locked

Re: C# LicenseKey property

by Brant, (6930 days ago) @ Jasmine

Well what happened here??? Same problem on my end, this thread is useless without a resolution.

locked

Re: C# LicenseKey property

by wodAlan @, (6929 days ago) @ Brant

Brant,

Did you try like Kreso said in previous posts?
If you tried all that please send us mail to tchsupport@weonlydo.com
We will resolve this.

Regards,
Alan

locked

Re: C# LicenseKey property

by wodAlan @, (6928 days ago) @ wodAlan

Brant,

You can try following:

Please remove reference to wodSFTP.NET from your project, close VS.

Delete bin and obj folders. Uninstall wodSFTP.NET. Make sure it doesn't have any leftover DLLs (search your hard drive for WeOnlyDo.Client.SFTP.dll and delete them).

Make sure it's not in the GAC anymore (gacutil -l) and if you find it there, uninstall it too (gacutil -u).

When you're sure wodSFTP.NET is not installed anymore, now install it again, but make sure you install licensed version (one that asks for license key during installation). Open VS, add reference back, and now try it.

This is longest way to make it work, but usually does work.

Regards,
Alan

locked