public UserActLogger() { _uActTracker = new UserActivityHook(false, false); UActLog = new UserActLog(); _uActTracker.OnMouseActivity += _uActTracker_OnMouseActivity; _uActTracker.KeyDown += UActTrackerKeyDown; }
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; } }
public SnapshotReadyHandlerArgs(UserActLog uActLog) { UActLog = uActLog; }