GetProcessInformation() public static méthode

public static GetProcessInformation ( ) : ProcessInfo
Résultat ProcessInfo
Exemple #1
0
        static void CheckTimer()
        {
            if (_tmr == null)
            {
                //Get the information immediately for the current caller
                _info = ResourceMonitor.GetProcessInformation();

                _tmr          = new Timer(3000);
                _tmr.Elapsed += Watch;
                _tmr.Start();
            }
        }
Exemple #2
0
 static void Watch(object sender, ElapsedEventArgs e)
 {
     _info = ResourceMonitor.GetProcessInformation();
     //_memCounter = new System.Diagnostics.PerformanceCounter("Mono Memory", "Total Physical Memory", String.Empty, Environment.MachineName);
 }