CryptGetTimeValidObject

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CryptGetTimeValidObject(
   string pszTimeValidOid,
   ref FILETIME pftVerifyTime,
   IntPtr hAdditionalStore,
   uint dwFlags,
   IntPtr pvReserved,
   IntPtr ppValidObject
);

Microsoft documentation: Link

Last updated