static private BootTimeToDateTime ( System.TimeSpan timespanAfterBoot ) : System.DateTime | ||
timespanAfterBoot | System.TimeSpan | The timespan since boot. |
return | System.DateTime |
private DateTime GetStartTime() => Process.BootTimeToDateTime(Process.TicksToTimeSpan(GetStat().starttime));