TestimoX

API Reference

Class

DomainControllerTimeSkewPostureService

Namespace ADPlayground.DomainControllers
Assembly ADPlayground
Modifiers static

Evaluates time-skew posture for a specific domain controller against either the local collector clock or an external NTP source.

Inheritance

  • Object
  • DomainControllerTimeSkewPostureService

Methods

public static async Task<View> EvaluateAsync(Options options = null, Func<String, DateTime, CancellationToken, Task<TimeSyncInfo>> remoteQuery = null, Func<String, Int32, CancellationToken, Task<NtpPayloadResult>> ntpQuery = null, Func<DateTimeOffset> nowProvider = null, CancellationToken cancellationToken = null) #
Returns: Task<View>

Evaluates domain-controller time skew posture for the supplied options.

Parameters

options ADPlayground.DomainControllers.DomainControllerTimeSkewPostureService.Options = null optionalposition: 0
Evaluation options.
remoteQuery System.Func{System.String,System.DateTime,System.Threading.CancellationToken,System.Threading.Tasks.Task{ComputerX.Time.TimeSyncInfo}} = null optionalposition: 1
Optional remote time query override for tests.
ntpQuery System.Func{System.String,System.Int32,System.Threading.CancellationToken,System.Threading.Tasks.Task{ADPlayground.Network.NtpPayloadResult}} = null optionalposition: 2
Optional NTP reference query override for tests.
nowProvider System.Func{System.DateTimeOffset} = null optionalposition: 3
Optional current-time provider for tests.
cancellationToken System.Threading.CancellationToken = null optionalposition: 4
Cancellation token.

Returns

Typed time-skew posture view.