18 references to Instance
System.Web (18)
Security\CookieProtection.cs (4)
24
if (AspNetCryptoServiceProvider.
Instance
.IsDefaultProvider) {
26
ICryptoService cryptoService = AspNetCryptoServiceProvider.
Instance
.GetCryptoService(purpose);
72
if (AspNetCryptoServiceProvider.
Instance
.IsDefaultProvider) {
74
ICryptoService cryptoService = AspNetCryptoServiceProvider.
Instance
.GetCryptoService(purpose);
Security\FormsAuthentication.cs (4)
153
if (AspNetCryptoServiceProvider.
Instance
.IsDefaultProvider) {
155
ICryptoService cryptoService = AspNetCryptoServiceProvider.
Instance
.GetCryptoService(Purpose.FormsAuthentication_Ticket);
255
if (AspNetCryptoServiceProvider.
Instance
.IsDefaultProvider) {
256
ICryptoService cryptoService = AspNetCryptoServiceProvider.
Instance
.GetCryptoService(Purpose.FormsAuthentication_Ticket);
Security\MachineKey.cs (2)
167
return Protect(AspNetCryptoServiceProvider.
Instance
, userData, purposes);
201
return Unprotect(AspNetCryptoServiceProvider.
Instance
, protectedData, purposes);
UI\ObjectStateFormatter.cs (4)
375
if (AspNetCryptoServiceProvider.
Instance
.IsDefaultProvider && !_forceLegacyCryptography) {
380
ICryptoService cryptoService = AspNetCryptoServiceProvider.
Instance
.GetCryptoService(derivedPurpose);
780
if (AspNetCryptoServiceProvider.
Instance
.IsDefaultProvider && !_forceLegacyCryptography) {
785
ICryptoService cryptoService = AspNetCryptoServiceProvider.
Instance
.GetCryptoService(derivedPurpose);
UI\Page.cs (4)
1846
if (AspNetCryptoServiceProvider.
Instance
.IsDefaultProvider) {
1849
ICryptoService cryptoService = AspNetCryptoServiceProvider.
Instance
.GetCryptoService(purpose, CryptoServiceOptions.CacheableOutput);
2011
if (AspNetCryptoServiceProvider.
Instance
.IsDefaultProvider) {
2014
ICryptoService cryptoService = AspNetCryptoServiceProvider.
Instance
.GetCryptoService(purpose, CryptoServiceOptions.CacheableOutput);