private void Install() { #if MONO Stdlib.Signal(signum, signalHandler); #else SetConsoleCtrlHandler(signalHandler, true); #endif OnInstall(); }