示例#1
0
        /// <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);
            }
        }
示例#2
0
 static InputInterceptor()
 {
     dllWrapper  = null;
     NeedDispose = false;
 }