C# LicenseKey property (General questions)
by jojo, Tuesday, June 28, 2005, 21:16 (7087 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,
Re: C# LicenseKey property
by wodSupport, Tuesday, June 28, 2005, 21:25 (7087 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?
Re: C# LicenseKey property
by jojo, Tuesday, June 28, 2005, 21:49 (7087 days ago) @ wodSupport
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...
Re: C# LicenseKey property
by wodSupport, Tuesday, June 28, 2005, 21:51 (7087 days ago) @ jojo
Jojo,
what kind of project is it? Are you sure you installed licensed version? What does 'Version' property say exactly?
Re: C# LicenseKey property
by jojo, Tuesday, June 28, 2005, 21:58 (7087 days ago) @ wodSupport
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
Re: C# LicenseKey property
by wodSupport, Tuesday, June 28, 2005, 21:59 (7087 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?
Re: C# LicenseKey property
by jojo, Tuesday, June 28, 2005, 22:32 (7087 days ago) @ wodSupport
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.
Re: C# LicenseKey property
by wodSupport, Tuesday, June 28, 2005, 22:34 (7087 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?
Re: C# LicenseKey property
by jojo, Tuesday, June 28, 2005, 22:39 (7087 days ago) @ wodSupport
I tried with no luck. I did exactly as you instructed. I've got a screen shot if you'd like to see...
Re: C# LicenseKey property
by wodSupport, Tuesday, June 28, 2005, 22:42 (7087 days ago) @ jojo
Yes, plz send it to techsupport@weonlydo.com
Re: C# LicenseKey property
by Brant, Saturday, May 13, 2006, 06:04 (6768 days ago) @ wodSupport
Well what happened here??? Same problem on my end, this thread is useless without a resolution.
Re: C# LicenseKey property
by wodAlan, Saturday, May 13, 2006, 11:41 (6768 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
Re: C# LicenseKey property
by wodAlan, Sunday, May 14, 2006, 20:45 (6767 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