public static bool CheckEditShellContextMenuButton() { try { return(RegistryHelpers.CheckStringValue(ShellExtEditImageCmd, null, ShellExtEditPath)); } catch (Exception e) { DebugHelper.WriteException(e); } return(false); }
public static bool CheckShellContextMenuButton() { try { return(RegistryHelpers.CheckStringValue(ShellExtMenuFilesCmd, null, ShellExtPath) && RegistryHelpers.CheckStringValue(ShellExtMenuDirectoryCmd, null, ShellExtPath)); } catch (Exception e) { DebugHelper.WriteException(e); } return(false); }
public static bool CheckFirefoxAddonSupport() { try { return(RegistryHelpers.CheckStringValue(FirefoxNativeMessagingHosts, null, Program.FirefoxHostManifestFilePath) && File.Exists(Program.FirefoxHostManifestFilePath)); } catch (Exception e) { DebugHelper.WriteException(e); } return(false); }
public static bool CheckImageEffectExtension() { try { return(RegistryHelpers.CheckStringValue(ShellImageEffectExtensionPath, null, ShellImageEffectExtensionValue) && RegistryHelpers.CheckStringValue(ShellImageEffectCommandPath, null, ShellImageEffectCommandValue)); } catch (Exception e) { DebugHelper.WriteException(e); } return(false); }