<PackageReference Include="System.Reactive" Version="7.0.0-rc.1" />

System.Reactive.PlatformServices.SystemClock

public static class SystemClock
namespace System.Reactive.PlatformServices { public class PeriodicTimerSystemClockMonitor : INotifySystemClockChanged { public event EventHandler<SystemClockChangedEventArgs> SystemClockChanged; public PeriodicTimerSystemClockMonitor(TimeSpan period); } } namespace System.Reactive.Concurrency { } namespace System.Reactive.PlatformServices { public static class SystemClock { public static DateTimeOffset UtcNow { get; } public static void AddRef(); public static void Release(); } }