>Lets say I want to create a XML License file, to product my product, which
is deployed at the customer. (I don't want 
>any complicated solution, and I don't want to deploy any 3rd party dlls as
my licensing solution). This license file 
>Enter Strong names. Is it possible to take my private key, that I used to
sign my assemblies with, some how generate a 
>hash (or encrypt) a Xml file. Send that hash and the xml file to the
client. Then, my component, reads the xml file, 

I've seen such XML licence files already with some product I'm working with
that operate in exactly the way you describe (although not written in .NET).
The only difference is that they read a "LicenceDetails" node inside the XML
and the hash is also stored in the same XML under a Signature node.

>Is there some way this can be achieved? Basically, I would like to
capitalize on the key file/strong name technology to 
>protect my license file.

You're going to need to dig further with asymmetric cryptography (public)
key.  A good starting point is
http://devx.com/security/Article/17249/0/page/1 although it's written in
VB.NET.

[)amien

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to