Home All Groups Group Topic Archive Search About

How to create MachineKey

Author
22 Jan 2007 6:07 AM
SqlBeginner
Hi

Is there any tools within .NET Framework for generating MachineKey in
ASP.NET (both 1.0 and 2.0)?

If not, using third party site  is the only way or what is the best method
of generating the key.

Can anybody help me in this at the earliest :(

Regards
Pradeep

Author
24 Jan 2007 9:18 AM
shawn
You could use RNGCryptoServiceProvider class to generate cryptographic
random key.
Namespace: System.Security.Cryptography
v1.0, v1.1, v2 support it.
Author
24 Jan 2007 9:52 AM
Dominick Baier
you can use this tool:

http://www.develop.com/us/technology/resourcedetail.aspx?id=78da5ca5-5079-4f8f-99c5-b080117ceac0

-----
Dominick Baier (http://www.leastprivilege.com)

Show quoteHide quote
> Hi
>
> Is there any tools within .NET Framework for generating MachineKey in
> ASP.NET (both 1.0 and 2.0)?
>
> If not, using third party site  is the only way or what is the best
> method of generating the key.
>
> Can anybody help me in this at the earliest :(
>
> Regards
> Pradeep