log4net SDK Reference

SystemInfo.ProcessStartTime Property

[This is preliminary documentation and subject to change.]

Get the start time for the current process.

[Visual Basic]
Public Shared ReadOnly Property ProcessStartTime As Date
[C#]
public static System.DateTime ProcessStartTime {get;}

Remarks

Tries to get the start time for the current process. Failing that it returns the time of the first call to this property.

Note that AppDomains may be loaded and unloaded within the same process without the process terminating and therefore without the process start time being reset.

See Also

SystemInfo Class | log4net.Util Namespace