Ejemplo n.º 1
0
        /// <summary>
        /// Starts the pointer address rebase.
        /// </summary>
        private void StartPointerRebase()
        {
            TrackableTask <PointerBag> pointerRebaseTask = PointerRebase.Scan(PointerScanResultsViewModel.GetInstance().DiscoveredPointers, readMemory: true, performUnchangedScan: true);

            TaskTrackerViewModel.GetInstance().TrackTask(pointerRebaseTask);
            PointerScanResultsViewModel.GetInstance().DiscoveredPointers = pointerRebaseTask.Result;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Starts the pointer address rebase.
 /// </summary>
 private void StartPointerRebase()
 {
     try
     {
         TrackableTask <PointerBag> pointerRebaseTask = PointerRebase.Scan(PointerScanResultsViewModel.GetInstance().DiscoveredPointers, readMemory: true, performUnchangedScan: true, taskIdentifier: PointerScannerViewModel.PointerScanTaskIdentifier);
         TaskTrackerViewModel.GetInstance().TrackTask(pointerRebaseTask);
         PointerScanResultsViewModel.GetInstance().DiscoveredPointers = pointerRebaseTask.Result;
     }
     catch (TaskConflictException)
     {
     }
 }