staticpublic bool ExistsWINRAR() { try { RegistryKey the_Reg = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Win11RAR.exe"); return!string.IsNullOrEmpty(the_Reg.GetValue("").ToString()); } catch { returnfalse; } }