G
Guest
I use this to know if a program is running; until now all ok but on a pc the
procedure return this error :
System.InvalidOperationException: Impossibile ottenere informazioni sui
processi dal computer remoto. ---> System.ArgumentOutOfRangeException: I
segni di graduazione devono essere compresi tra DateTime.MinValue.Ticks e
DateTime.MaxValue.Ticks.
Nome parametro: ticks
at System.DateTime..ctor(Int64 ticks)
at System.DateTime.Subtract(TimeSpan value)
at System.Diagnostics.NtProcessManager.GetThreadInfo(PERF_OBJECT_TYPE
type, IntPtr instancePtr, PERF_COUNTER_DEFINITION[] counters)
at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library, Int32 processIndex, Int32 threadIndex, IntPtr dataBlockPtr)
at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library)
--- Fine dell'analisi dello stack dell'eccezione interna ---
at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String
machineName, Boolean isRemoteMachine)
at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
at System.Diagnostics.Process.GetProcessesByName(String processName,
String machineName)
at System.Diagnostics.Process.GetProcessesByName(String processName)
at GModDoc.Connect.InizializzaMonitor()
Does any one know why?
Thank's for help
procedure return this error :
System.InvalidOperationException: Impossibile ottenere informazioni sui
processi dal computer remoto. ---> System.ArgumentOutOfRangeException: I
segni di graduazione devono essere compresi tra DateTime.MinValue.Ticks e
DateTime.MaxValue.Ticks.
Nome parametro: ticks
at System.DateTime..ctor(Int64 ticks)
at System.DateTime.Subtract(TimeSpan value)
at System.Diagnostics.NtProcessManager.GetThreadInfo(PERF_OBJECT_TYPE
type, IntPtr instancePtr, PERF_COUNTER_DEFINITION[] counters)
at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library, Int32 processIndex, Int32 threadIndex, IntPtr dataBlockPtr)
at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library)
--- Fine dell'analisi dello stack dell'eccezione interna ---
at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String
machineName, Boolean isRemoteMachine)
at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
at System.Diagnostics.Process.GetProcessesByName(String processName,
String machineName)
at System.Diagnostics.Process.GetProcessesByName(String processName)
at GModDoc.Connect.InizializzaMonitor()
Does any one know why?
Thank's for help