LoggingEvent StartTimeUtc Property | Apache log4net™ SDK Documentation

Gets the UTC time when the current process started.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public static DateTime StartTimeUtc { get; }

    Public Shared ReadOnly Property StartTimeUtc As DateTime
    	Get

    public:
    static property DateTime StartTimeUtc {
    	DateTime get ();
    }

    static member StartTimeUtc : DateTime with get

#### Property Value

Type: DateTime
This is the UTC time when this process started.
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

#### Reference

LoggingEvent Class
log4net.Core Namespace