TestimoX

API Reference

Class

TimeServiceRuntimeChecker

Namespace ADPlayground.DomainControllers
Assembly ADPlayground
Modifiers static

Reads Windows Time Service runtime settings from DCs and identifies PDC posture.

Inheritance

  • Object
  • TimeServiceRuntimeChecker

Methods

public static View Get(String domainName) #
Returns: View

Reads runtime Windows Time Service settings from all DCs in the domain and identifies the PDC.

Parameters

domainName System.String requiredposition: 0
DNS domain name.

Returns

Aggregated runtime view including per‑DC rows.

public static ValueTuple<String, DcTimeConfig> GetForDc(String domainName, String dcName) #
Returns: ValueTuple<String, DcTimeConfig>

Retrieves runtime W32Time configuration for a specific DC, plus PDC name for context.

Parameters

domainName System.String requiredposition: 0
dcName System.String requiredposition: 1
public static DomainControllerTimeRuntimeRow GetRuntimeRowForDc(String domainName, String dcName) #
Returns: DomainControllerTimeRuntimeRow

Returns a typed, per‑DC runtime time posture row for convenient consumption by rules/clients.

Parameters

domainName System.String requiredposition: 0
dcName System.String requiredposition: 1