Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I have made one desktop application in C#. I want to add online activation functionality in this project. Can any help me?
Posted

1 solution

I assume your program is in C# and you want to write the web part in PHP ? There's tons of ways to do this. Basically, you write code to store a date, and after that date, stop working and ask for an activation. Then your website stores those codes, probably via a web service, and sends back notification that a code is valid, which the program stores and then starts working again. None of it is complicated. but there's way too much code involved for you to get much out of a top level 'do this for me' request.
 
Share this answer
 
Comments
Prachi92 11-Nov-13 13:09pm    
Thank you for giving the info.
I am planning to make a table having 1 field of code inserted by me and next field for the code returned by website. If both codes matches, it will continues installation. Can you give me some example of code as per your answer??
Christian Graus 11-Nov-13 13:10pm    
No. Surely you know that's a LOT of code ? It's a simple thing to do, and you need to do it using code that's NOT on the internet, if you want it to be secure.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900