public static bool CheckShellContextMenuButton() { try { return(RegistryHelpers.CheckRegistry(ShellExtMenuFilesCmd, null, ShellExtPath) && RegistryHelpers.CheckRegistry(ShellExtMenuDirectoryCmd, null, ShellExtPath)); } catch (Exception e) { DebugHelper.WriteException(e); } return(false); }
public static bool CheckCustomUploaderExtension() { try { return(RegistryHelpers.CheckRegistry(ShellCustomUploaderExtensionPath, null, ShellCustomUploaderExtensionValue) && RegistryHelpers.CheckRegistry(ShellCustomUploaderCommandPath, null, ShellCustomUploaderCommandValue)); } catch (Exception e) { DebugHelper.WriteException(e); } return(false); }
public static bool CheckFirefoxAddonSupport() { try { return(RegistryHelpers.CheckRegistry(FirefoxNativeMessagingHosts, null, Program.FirefoxHostManifestFilePath) && File.Exists(Program.FirefoxHostManifestFilePath)); } catch (Exception e) { DebugHelper.WriteException(e); } return(false); }
public static bool CheckEditShellContextMenuButton() { try { return(RegistryHelpers.CheckRegistry(ShellExtEditMenuJpegCmd, null, ShellExtEditPath) && RegistryHelpers.CheckRegistry(ShellExtEditMenuPngCmd, null, ShellExtEditPath)); } catch (Exception e) { DebugHelper.WriteException(e); } return(false); }