API Reference
Class
DomainControllerTimeSkewPostureService
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
- Evaluation options.
- remoteQuery System.Func{System.String,System.DateTime,System.Threading.CancellationToken,System.Threading.Tasks.Task{ComputerX.Time.TimeSyncInfo}} = null
- 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
- Optional NTP reference query override for tests.
- nowProvider System.Func{System.DateTimeOffset} = null
- Optional current-time provider for tests.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Typed time-skew posture view.