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);
     }
 }
Exemplo n.º 2
0
        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);
            }
        }