SystemClock Class
Provides the system’s date and time.
Inheritance Hierarchy
System.Object
Microsoft.Owin.Infrastructure.SystemClock
Namespace: Microsoft.Owin.Infrastructure
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Class SystemClock _
Implements ISystemClock
'Usage
Dim instance As SystemClock
public class SystemClock : ISystemClock
public ref class SystemClock : ISystemClock
type SystemClock =
class
interface ISystemClock
end
public class SystemClock implements ISystemClock
The SystemClock type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SystemClock | Initializes a new instance of the SystemClock class. |
Top
Properties
Name | Description | |
---|---|---|
UtcNow | Gets the date and time that is set to the current Coordinated Universal Time (UTC) based on the local system’s clock time. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.