1 write to RegistryKey
Microsoft.AspNetCore.DataProtection (1)
Repositories\RegistryXmlRepository.cs (1)
36
RegistryKey
= registryKey;
9 references to RegistryKey
Microsoft.AspNetCore.DataProtection (8)
Repositories\RegistryXmlRepository.cs (8)
70
foreach (string valueName in
RegistryKey
.GetValueNames())
72
var element = ReadElementFromRegKey(
RegistryKey
, valueName);
156
RegistryKey
.SetValue(valueName, element.ToString(), RegistryValueKind.String);
166
foreach (var valueName in
RegistryKey
.GetValueNames())
168
var element = ReadElementFromRegKey(
RegistryKey
, valueName);
184
_logger.RemovingDataFromRegistryKeyValue(
RegistryKey
, valueName);
187
RegistryKey
.DeleteValue(valueName, throwOnMissingValue: false);
191
_logger.FailedToRemoveDataFromRegistryKeyValue(
RegistryKey
, valueName, ex);
Microsoft.AspNetCore.DataProtection.Tests (1)
Repositories\RegistryXmlRepositoryTests.cs (1)
25
var retVal = repository.
RegistryKey
;