// Clean up debris left over from 4 protected static void CleanUp4() { RegistryAccess RA = new RegistryAccess(); RegistryKey RK = RA.OpenSubKey3264(Registry.LocalMachine, @"SOFTWARE\ASCOM", true, RegistryAccess.RegWow64Options.KEY_WOW64_32KEY); try { RK.DeleteSubKeyTree(@"Telescope Drivers\SS2K.Telescope"); LogMessage("CleanUp4", @"Deleted Registry: Telescope Drivers\SS2K.Telescope"); } catch { } try { RK.DeleteSubKeyTree(@"Focuser Drivers\PCFocus.Focuser"); LogMessage("CleanUp4", @"Deleted Registry: Focuser Drivers\PCFocus.Focuser"); } catch { } RK.Close(); RA.Dispose(); }