a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
416 B
C#
19 lines
416 B
C#
// CS0246: The type or namespace name `RNGCryptoServiceProvider' could not be found. Are you missing `System.Security.Cryptography' using directive?
|
|
// Line: 13
|
|
|
|
using System;
|
|
|
|
namespace System.Web.Configuration
|
|
{
|
|
class MachineKeyConfig
|
|
{
|
|
static MachineKeyConfig ()
|
|
{
|
|
autogenerated = new byte [64];
|
|
RNGCryptoServiceProvider cp = new RNGCryptoServiceProvider ();
|
|
cp.GetBytes (autogenerated);
|
|
}
|
|
}
|
|
}
|
|
|