Analyze() public method

A simple memory mapped scan over the input provided in the constructor
public Analyze ( int ExitAfter ) : int
ExitAfter int Optionally stop checking or exit early after this many candidates. 0 does not exit early.
return int
Exemplo n.º 1
0
        public int ProcDetectScan(PTType Modes, int DetectOnly = 0)
        {
            if (Phase >= 1 && OverRidePhase)
            {
                return(Processes.Count());
            }

            scan.ScanMode = Modes;

            var rv = scan.Analyze(DetectOnly);

            foreach (var p in scan.DetectedProcesses.Values)
            {
                Processes.Add(p);
            }

            Phase = 2;

            return(rv);
        }