public static void UnRegister() { FileShellExtension.Unregister(FileType, KeyName); }
public static bool IsRegistered() { return(FileShellExtension.IsRegistered(FileType, KeyName)); }
public static void Register() { string menuCommand = string.Format("\"{0}\" W \"%1\"", Application.ExecutablePath); FileShellExtension.Register(FileType, KeyName, MenuText, menuCommand); }