The System.Diagnostics.Process class has a property containing the start time which you can use to calculate how long it has been running:
var current = System.Diagnostics.Process.GetCurrentProcess();
DateTime startedAt = current.StartTime
The System.Diagnostics.Process class has a property containing the start time which you can use to calculate how long it has been running:
var current = System.Diagnostics.Process.GetCurrentProcess();
DateTime startedAt = current.StartTime