Click here to Skip to main content
12,814,411 members (35,884 online)
Click here to Skip to main content
Add your own
alternative version

Stats

596.2K views
19.6K downloads
605 bookmarked
Posted 7 Sep 2003

Using XML Digital Signatures for Application Licensing

, 23 Nov 2005 Ms-PL
Rate this:
Please Sign up or sign in to vote.
Use XML Digital Signatures for a request- and signing-based licensing mechanism for your applications.
 

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Heath Stewart
Software Developer Microsoft
United States United States
Heath Stewart is a happily married software engineer originally from the Midwest and a graduate of Iowa State University. Heath start programming early in life and enjoys continuous research and development in new languages, frameworks, and platforms. Fluent in many different programming languages, he has developed many large-scale software solutions for companies in different areas, such as Internet filtering, intrusion detection systems, production management systems, and web applications for various purposes. He also enjoys photography.

Currently, Heath is a Program Manager in the Visual Studio Professional Deployment Experience (VSPro DEX) team at Microsoft. Previous to his employment, he was a Microsoft MVP for Visual C#.

He is also a CodeProject protector and is happy to help the development community.

You may also be interested in...

Pro
Pro

Comments and Discussions

 
JokeRe: My vote of 1 Pin
Thesisus21-Apr-10 9:18
memberThesisus21-Apr-10 9:18 
QuestionGot a basic problem Pin
Som Shekhar31-Jul-09 22:02
memberSom Shekhar31-Jul-09 22:02 
AnswerRe: Got a basic problem Pin
Paulo Zemek26-Oct-09 8:29
memberPaulo Zemek26-Oct-09 8:29 
GeneralRe: Got a basic problem Pin
Som Shekhar26-Oct-09 8:35
memberSom Shekhar26-Oct-09 8:35 
GeneralRe: Got a basic problem Pin
Paulo Zemek26-Oct-09 13:55
memberPaulo Zemek26-Oct-09 13:55 
Well, if the program in question requires the date for the user data the tweak will not be useful, but if that's not the case, I must say the only solution is to connect to the internet, if this is an option.
In this case, you can connect to a remote server that tells if the license is still valid or not.

Well... maybe there is another method, but a little more complex. Create a secondary process to get the reference file and save it, so many monitor programs will not know it exists, and them communicate via IPC with it.
GeneralRe: Got a basic problem Pin
Som Shekhar27-Oct-09 17:26
memberSom Shekhar27-Oct-09 17:26 
AnswerRe: Got a basic problem Pin
John C17-Mar-10 20:07
memberJohn C17-Mar-10 20:07 
GeneralRe: Got a basic problem Pin
Som Shekhar17-Mar-10 20:56
memberSom Shekhar17-Mar-10 20:56 
GeneralRe: Got a basic problem Pin
John C17-Mar-10 21:14
memberJohn C17-Mar-10 21:14 
GeneralRe: Got a basic problem Pin
Som Shekhar17-Mar-10 21:25
memberSom Shekhar17-Mar-10 21:25 
GeneralRe: Got a basic problem Pin
Daniele Barzotti12-May-10 11:42
memberDaniele Barzotti12-May-10 11:42 
GeneralRe: Got a basic problem Pin
Som Shekhar12-May-10 19:31
memberSom Shekhar12-May-10 19:31 
GeneralUsing "using" with an RSACryptoServiceProvider object [modified] Pin
delftred16-Jun-09 17:56
memberdelftred16-Jun-09 17:56 
GeneralNon-Constant public/private key pair from *.snk file! Pin
Robert Foster8-Jun-09 5:19
memberRobert Foster8-Jun-09 5:19 
QuestionVerify always fails Pin
Chris515030-May-09 18:19
memberChris515030-May-09 18:19 
AnswerRe: Verify always fails Pin
Heath Stewart1-Jun-09 0:10
protectorHeath Stewart1-Jun-09 0:10 
GeneralRe: Verify always fails Pin
Chris51502-Jun-09 16:29
memberChris51502-Jun-09 16:29 
QuestionWhat happens when the Cert expires? Pin
ColinMaunder5-Mar-09 2:29
memberColinMaunder5-Mar-09 2:29 
AnswerRe: What happens when the Cert expires? Pin
Heath Stewart11-Mar-09 16:01
protectorHeath Stewart11-Mar-09 16:01 
QuestionAny literature? Pin
Member 77975811-Jan-09 3:28
memberMember 77975811-Jan-09 3:28 
GeneralThanks, such a useful article. Pin
Jon Mirtschin27-Dec-08 17:14
memberJon Mirtschin27-Dec-08 17:14 
GeneralVery cool! Pin
Dr.Luiji18-Dec-08 9:03
memberDr.Luiji18-Dec-08 9:03 
AnswerSuper Pin
dimitris.dpant20-Nov-08 11:25
memberdimitris.dpant20-Nov-08 11:25 
QuestionComputer policy that can stop CheckSignature? Pin
ajhuddy7-Oct-08 10:39
memberajhuddy7-Oct-08 10:39 
NewsASP.NET Signatures Pin
jay_dubal14-Jul-08 0:45
memberjay_dubal14-Jul-08 0:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170308.1 | Last Updated 23 Nov 2005
Article Copyright 2003 by Heath Stewart
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid