示例#1
0
        /// <summary>
        /// 150KB == 150 * 1024 = 76800
        /// </summary>
        /// <param name="MaxLength"></param>
        public InputTracer(int MaxLength, string path = null)
        {
            this.TraceClipboard = TraceClipboard;

            if (path == null)
            {
                path = Files.ExePath;
            }
            else
            {
                path = Files.GetFullPath(path);
            }

            this.Path = path;

            this.Load();

            this.MaxLength = MaxLength;
            Keyboard       = new KeyboardUsing();
            Timers         = new ThreadedTimers(10);
            KeyCodes       = new VirtualKeyCodes();
            CodeStates     = new int[Keyboard.CodesCounter];
            CodeDown       = new bool[Keyboard.CodesCounter];

            TimeStart = TickTime.Now;
        }
示例#2
0
        public InputLog()
        {
            this.TraceClipboard = TraceClipboard;
            this.Path           = Files.ExePath;

            this.Load();

            this.MaxLength = MaxLength;
            Keyboard       = new KeyboardUsing();
            Timers         = new ThreadedTimers(10);
            KeyCodes       = new VirtualKeyCodes();
            CodeStates     = new int[Keyboard.CodesCounter];
            CodeDown       = new bool[Keyboard.CodesCounter];

            TimeStart = TickTime.Now;
        }