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);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|