/// <summary> /// InputInterceptor class init /// </summary> /// <returns></returns> public static bool Initialize() { try { var dllBytes = Environment.Is64BitProcess ? Resources.interception_x64 : Resources.interception_x86; dllWrapper = new DllWrapper(dllBytes); return(true); } catch (Exception ex) { Debug.WriteLine(ex); return(false); } }
static InputInterceptor() { dllWrapper = null; NeedDispose = false; }