void WriteRegistry(RegistryView view) { var hklm = RegistryHelper.LocalMachine(view); const string key = @"SOFTWARE\ParticularSoftware\ServiceBus"; if (!StringExtensions.IsNullOrWhiteSpace(ErrorQueue)) { hklm.WriteValue(key,"ErrorQueue", ErrorQueue, RegistryValueKind.String); } if (!StringExtensions.IsNullOrWhiteSpace(AuditQueue)) { hklm.WriteValue(key,"AuditQueue", AuditQueue, RegistryValueKind.String); } }
void WriteRegistry(RegistryView view) { var hklm = RegistryHelper.LocalMachine(view); const string key = @"SOFTWARE\ParticularSoftware\ServiceBus"; if (!StringExtensions.IsNullOrWhiteSpace(ErrorQueue)) { hklm.WriteValue(key, "ErrorQueue", ErrorQueue, RegistryValueKind.String); } if (!StringExtensions.IsNullOrWhiteSpace(AuditQueue)) { hklm.WriteValue(key, "AuditQueue", AuditQueue, RegistryValueKind.String); } }