API Reference
Class
TimeServiceRuntimeChecker
Reads Windows Time Service runtime settings from DCs and identifies PDC posture.
Inheritance
- Object
- TimeServiceRuntimeChecker
Methods
public static View Get(String domainName) #Returns:
ViewReads runtime Windows Time Service settings from all DCs in the domain and identifies the PDC.
Parameters
- domainName System.String
- 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
- dcName System.String
public static DomainControllerTimeRuntimeRow GetRuntimeRowForDc(String domainName, String dcName) #Returns:
DomainControllerTimeRuntimeRowReturns a typed, per‑DC runtime time posture row for convenient consumption by rules/clients.
Parameters
- domainName System.String
- dcName System.String