public void Uninstall() { if (!isInstalled) { throw new InvalidOperationException( "This interceptor has already been uninstalled."); } hotkeyInterception.Stop(mainWindowHandle); isInstalled = false; }
public void Uninstall() { //TODO: proper exceptions for uninstall for ALL uninstalls (don't uninstall when already uninstalled etc). hotkeyInterception.Stop(windowHandle); }