Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > dotnet security > january 2007 >

dotnet security : How to create MachineKey


SqlBeginner
1/21/2007 10:07:04 PM
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
Dominick Baier
1/24/2007 9:52:56 AM

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)

[quoted text, click to view]

shawn
1/24/2007 5:18:25 PM
You could use RNGCryptoServiceProvider class to generate cryptographic
random key.
Namespace: System.Security.Cryptography
AddThis Social Bookmark Button