system.diagnostics
C# - Running a new process as a user with blank password
I have a child proc开发者_JS百科ess I spawn from my main application that needs to be run as another local user on a Windows 7 machine.I would prefer to not set a password on that user account, but it[详细]
2023-01-13 14:31 分类:问答Running a program with System.Diagnostics.Process.Start causes a MissingMethodException
I\'m working on a Compact Framework 2.0 project, and I\'m trying to launch a program \"B\" from within another program \"A\" using Process.Start. I\'ve done this several times before, but I\'m running[详细]
2023-01-11 22:08 分类:问答System.Diagnostics.Trace.TraceListener UnsafeStringCopy exception from ASP.NET
I get an odd intermittent error when trying to write a Diagnostics.Trace message from an assembly used by an ASP.NET application.It\'s .NET 3.5 on IIS7.[详细]
2023-01-10 22:04 分类:问答Using PerformanceCounter to track memory and CPU usage per process?
How can I use System.Diagnostics.PerformanceCounter to track开发者_JS百科 the memory and CPU usage for a process?For per process data:[详细]
2023-01-10 19:26 分类:问答"Gracefully" killing a process
Right now I am using Process.Kill开发者_运维知识库() to kill a process. Is there a way though, instead of just killing it immediately, that I can like send a message to the process instructing it to c[详细]
2023-01-10 12:56 分类:问答why can't i find process class in my System.Diagnostics silverlight project VS 2010
i wanna use process.getprocess开发者_JS百科es() but it doesn\'t seem to be in my diagnostics class, why?!!!I assume by your use of the Silverlight Tag you are building a Silverlight application.Silver[详细]
2023-01-08 05:50 分类:问答How to solve memory leak caused by System.Diagnostics.PerformanceCounter
Summary I have written a process monitor command-line application that takes as parameters: The process name or process ID[详细]
2023-01-07 10:22 分类:问答System.Diagnostics.Debug namespace vs Other logging solutions (log4net, MS Enterprise Library, etc.)
I\'m currently investigating various logging possibilities for .net projects and I can\'t decide between System.Diagnostics.Debug/Trace features and third party libraries like log4net, MS Enterprise L[详细]
2023-01-06 10:19 分类:问答Diagnostics Trace: how to trace only one WCF endpoint
I have a WCF client that connects to multiple endpoints; some net.pipe, some https. The net.pipe endpoints have a fair amount of开发者_如何学C chatter but they work reliably, so I don\'t want to tra[详细]
2023-01-01 10:28 分类:问答PerformanceCounter.NextValue hangs on some machines
I don\'t know why, but many computers hangs on following operation: void Init() { net1 = new List<PerformanceCounter>();[详细]
2022-12-31 21:00 分类:问答