VB.net Security preventing user using it after trial

Hi

I am implementing the licensing functionality by Eric Moreau at the following link
 
http://www.emoreau.com/Entries/Articles/2007/12/Licensing-a-VBNet-application.aspx

I have the form that generates the license key working in my VB.net project which opens from

button click, but am not sure how to prevent a user that has gone over the 30 day trial from

using my application. What code would I use in the Application start up?
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
in the test key button, the code check for the validity and display a message if it is not.

in your case, you should display a message to the user and open a disabled application letting him request a valid key or just close the application (if the previous message is clear enough to know what to do).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ArkCommented:
When your app starts for the first time, just encrypt smth like "Anonymous_" + DateTime.Now.ToString("dd/MM/yyyy") and write to registry. Every start check this value and compare date part with DateTime.Now. After registration replace this value with encrypted user name/key pair.
0
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.