SystemClock Klasse

Definition

Achtung

Use TimeProvider instead.

Ermöglicht den Zugriff auf die normale Systemuhr mit Genauigkeit in Sekunden.

public ref class SystemClock : Microsoft::AspNetCore::Authentication::ISystemClock
public class SystemClock : Microsoft.AspNetCore.Authentication.ISystemClock
[System.Obsolete("Use TimeProvider instead.")]
public class SystemClock : Microsoft.AspNetCore.Authentication.ISystemClock
type SystemClock = class
    interface ISystemClock
[<System.Obsolete("Use TimeProvider instead.")>]
type SystemClock = class
    interface ISystemClock
Public Class SystemClock
Implements ISystemClock
Vererbung
SystemClock
Attribute
Implementiert

Konstruktoren

SystemClock()
Veraltet.

Erstellt einen neuen SystemClock, der die aktuelle Systemzeit liest.

Eigenschaften

UtcNow
Veraltet.

Ruft die aktuelle Systemzeit in UTC ab.

Gilt für: