Solved

How to write a "licensing component" for my windows Application with C#?

Posted on 2009-05-17
2
273 Views
Last Modified: 2013-11-26
Hi
I'd like to write a "licensing component" for my windows application which I'm developing in visual studio 2005 and C#. It should be able to activate the trialware to a licensed one.
It should use CPU-ID or any other thing about the hardware of the user's computer.
The user should announce the serial number made with my component to me and I'll give a license key to him/her.
I need a sample or the "know how" about it.
0
Comment
Question by:Elham_Seif
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 24405992
have a look at http://www.emoreau.com/Entries/Articles/2007/12/Licensing-a-VBNet-application.aspx and download the demo code which contains both VB and C# code.
0
 

Expert Comment

by:OChristie
ID: 26494161
You can always use a commercialy used product called OCH Licensing

http://www.och-studios.co.uk/

Full Source Code Version Available.

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question