IComplianceContext
Interface in Oadm.Sdk.Compliance · Oadm.Sdk.dll
Server services for one check run on one device.
public interface IComplianceContextProperties
Section titled “Properties”Device
Section titled “Device”IDeviceInfo Device { get; }The device, as the server knows it now.
Logger
Section titled “Logger”ILogger Logger { get; }The server log. Never log secrets.
DateTimeOffset Now { get; }The server time of the run (certificate days left).
ICorePlugin? Owner { get; }The core plugin that contributed the type; null for the host’s own types.
IComplianceReads Reads { get; }Reads shared by every check of this run on this device.
IVapixClient? Vapix { get; }Pre-authenticated for IComplianceContext.Device with the stored login; null for types with IComplianceCheckType.UsesCachedDataOnly. Read only: a check never changes a device.