Solved

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

Posted on 2009-05-17
2
271 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 69

Accepted Solution

by:
Éric Moreau earned 500 total points
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now