Top "System.diagnostics" questions

System.

How can I find the method that called the current method?

When logging in C#, how can I learn the name of the method that called the current method? I know …

c# .net logging stack-trace system.diagnostics
How to execute process on remote machine, in C#

How can I start a process on a remote computer in c#, say computer name = "someComputer", using System.Diagnostics.Process …

c# process system.diagnostics
Using PerformanceCounter to track memory and CPU usage per process?

How can I use System.Diagnostics.PerformanceCounter to track the memory and CPU usage for a process?

c# .net performancecounter system.diagnostics
How to translate MS Windows OS version numbers into product names in .NET?

How to translate MS Windows OS version numbers into product names? For example, in .NET the following two properties could …

.net windows version system.diagnostics diagnostics
How to get the output of a System.Diagnostics.Process?

I run ffmpeg like this: System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo = new System.Diagnostics.ProcessStartInfo(ffmpegPath, …

c# asp.net windows system.diagnostics
How can I programmatically limit my program's CPU usage to below 70%?

Of late, I'm becoming more health oriented when constructing my program, I have observed that most of programs take 2 or 3 …

c# performance cpu-usage system.diagnostics
Check if a process is running on a remote system using C#

I am trying to check if a process is running on a remote system. I am using the following code: …

c# .net system.diagnostics
Open Windows' Calculator in my C# Win Application?

I know I can open Windows Calculator with the following code : System.Diagnostics.Process.Start("calc"); But I wanna open …

c# .net windows-7 system.diagnostics calculator
Difference between ElapsedTicks, ElapsedMilliseconds, Elapsed.Milliseconds and Elapsed.TotalMilliseconds? (C#)

I'm totally confused between these 4. What is the difference between ElapsedMilliseconds (long), ElapsedTicks (long), Elapsed.TotalMilliseconds (double) and Elapsed.Milliseconds (…

c# performance .net-4.0 system.diagnostics stopwatch
Trace logs location, where to view them

Where do you see Trace.Write(""); logs while developing an MVC or WCF app? What is the correct place to …

c# wcf trace system.diagnostics