9293949596979899100101102
} } private static void registerShutdownHook() { AppDomain.get_CurrentDomain().add_ProcessExit(new EventHandler(new EventHandler.Method() { public void Invoke(Object sender, EventArgs e) { shutdown(); } })); }