Skip to content

IComplianceContext

Interface in Oadm.Sdk.Compliance · Oadm.Sdk.dll

Server services for one check run on one device.

public interface IComplianceContext
IDeviceInfo Device { get; }

The device, as the server knows it now.

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.