15 references to DataProtectionScope
System.Configuration.ConfigurationManager (4)
System\Configuration\DpapiProtectedConfigurationProvider.cs (4)
70scope: UseMachineProtection ? DataProtectionScope.LocalMachine : DataProtectionScope.CurrentUser); 86scope: UseMachineProtection ? DataProtectionScope.LocalMachine : DataProtectionScope.CurrentUser);
System.Security (1)
System.Security.cs (1)
7[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.DataProtectionScope))]
System.Security.Cryptography.ProtectedData (10)
System\Security\Cryptography\ProtectedData.cs (10)
16public static byte[] Protect(byte[] userData, byte[]? optionalEntropy, DataProtectionScope scope) 56DataProtectionScope scope, 104DataProtectionScope scope, 144DataProtectionScope scope, 168public static byte[] Unprotect(byte[] encryptedData, byte[]? optionalEntropy, DataProtectionScope scope) 209DataProtectionScope scope, 258DataProtectionScope scope, 298DataProtectionScope scope, 325DataProtectionScope scope, 350if (scope == DataProtectionScope.LocalMachine)