protected string GetRegistrySoftwareValue(RegistryKey baseKey, string subpath, string name) { return GetRegistryValue(baseKey, SoftwareRegistryBase + subpath, name) ?? GetRegistryValue(baseKey, SoftwareRegistryBase32 + subpath, name); }