public static Boolean Initialize() { try { Byte[] DllBytes = Environment.Is64BitProcess ? Resources.interception_x64 : Resources.interception_x86; DllWrapper = new DllWrapper(DllBytes); NeedDispose = true; return(true); } catch (Exception exception) { Console.WriteLine(exception); return(false); } }
static InputInterceptor() { DllWrapper = null; NeedDispose = false; }