Пример #1
0
        public UserActLogger()
        {
            _uActTracker = new UserActivityHook(false, false);
            UActLog      = new UserActLog();

            _uActTracker.OnMouseActivity += _uActTracker_OnMouseActivity;
            _uActTracker.KeyDown         += UActTrackerKeyDown;
        }
Пример #2
0
 public void ReadBinary(string filename)
 {
     using (Stream stream = File.Open(filename, FileMode.Open))
     {
         var bin = new BinaryFormatter();
         var tmp = (UserActLog)bin.Deserialize(stream);
         UActLog = tmp;
     }
 }
Пример #3
0
 public SnapshotReadyHandlerArgs(UserActLog uActLog)
 {
     UActLog = uActLog;
 }