blob: a2d8cad367827d0bc35ab9ab233d9f62cbdbb42d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// 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);
}
}
}
|