Base:
method
GetBytes
System.Security.Cryptography.RandomNumberGenerator.GetBytes(System.Byte[])
40 references to GetBytes
mscorlib (20)
system\io\path.cs (1)
1098
rng.
GetBytes
(key);
system\runtime\remoting\identity.cs (1)
198
s_rng.
GetBytes
(randomBytes);
system\security\cryptography\descryptoserviceprovider.cs (5)
54
Utils.StaticRandomNumberGenerator.
GetBytes
(KeyValue);
57
Utils.StaticRandomNumberGenerator.
GetBytes
(KeyValue);
63
Utils.StaticRandomNumberGenerator.
GetBytes
(IVValue);
87
Utils.StaticRandomNumberGenerator.
GetBytes
(rgbKey);
101
Utils.StaticRandomNumberGenerator.
GetBytes
(rgbIV);
system\security\cryptography\mactripledes.cs (1)
36
Utils.StaticRandomNumberGenerator.
GetBytes
(KeyValue);
system\security\cryptography\rc2cryptoserviceprovider.cs (4)
91
Utils.StaticRandomNumberGenerator.
GetBytes
(KeyValue);
97
Utils.StaticRandomNumberGenerator.
GetBytes
(IVValue);
121
Utils.StaticRandomNumberGenerator.
GetBytes
(rgbKey);
149
Utils.StaticRandomNumberGenerator.
GetBytes
(rgbIV);
system\security\cryptography\rfc2898derivebytes.cs (1)
71
Utils.StaticRandomNumberGenerator.
GetBytes
(salt);
system\security\cryptography\rijndaelmanagedtransform.cs (1)
449
Utils.StaticRandomNumberGenerator.
GetBytes
(padBytes);
system\security\cryptography\tripledescryptoserviceprovider.cs (5)
48
Utils.StaticRandomNumberGenerator.
GetBytes
(KeyValue);
51
Utils.StaticRandomNumberGenerator.
GetBytes
(KeyValue);
58
Utils.StaticRandomNumberGenerator.
GetBytes
(IVValue);
83
Utils.StaticRandomNumberGenerator.
GetBytes
(rgbKey);
97
Utils.StaticRandomNumberGenerator.
GetBytes
(rgbIV);
system\security\cryptography\utils.cs (1)
510
StaticRandomNumberGenerator.
GetBytes
(key);
System (1)
net\System\Net\_DigestClient.cs (1)
1258
RandomGenerator.
GetBytes
(randomBytes);
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
66
rngCsp.
GetBytes
(randomBytes);
System.IdentityModel (1)
System\IdentityModel\CryptoHelper.cs (1)
1215
new RNGCryptoServiceProvider().
GetBytes
(key);
System.Security (1)
system\security\cryptography\xml\symmetrickeywrap.cs (1)
43
rng.
GetBytes
(rgbIV);
System.ServiceModel (3)
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (2)
63
rng.
GetBytes
(nonce);
75
rng.
GetBytes
(nonce);
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
46
this.random.
GetBytes
(salt);
System.Web (12)
Compilation\BuildManager.cs (1)
1247
_rng.
GetBytes
(data);
Configuration\MachineKeySection.cs (4)
331
RandomNumberGenerator.
GetBytes
(bKeysRandom);
564
RandomNumberGenerator.
GetBytes
(iv);
1138
RandomNumberGenerator.
GetBytes
(buf);
1139
RandomNumberGenerator.
GetBytes
(buf2);
Configuration\RemoteWebConfigurationHostServer.cs (1)
265
(new RNGCryptoServiceProvider()).
GetBytes
(buf);
HttpRuntime.cs (1)
1359
randgen.
GetBytes
(bKeysRandom);
Security\ADMembershipProvider.cs (2)
2917
rng.
GetBytes
(random); // The array is now filled with cryptographically strong random bytes.
3403
(new RNGCryptoServiceProvider()).
GetBytes
(bSalt);
Security\FormsAuthentication.cs (1)
838
randgen.
GetBytes
(bRandom);
Security\Membership.cs (1)
325
(new RNGCryptoServiceProvider()).
GetBytes
(buf);
Security\SQLMembershipProvider.cs (1)
1971
(new RNGCryptoServiceProvider()).
GetBytes
(buf);
System.Web.Extensions (1)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (1)
485
(new RNGCryptoServiceProvider()).
GetBytes
(buf);