Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FindByTime()

unsafe void Internal.Cryptography.Pal.FindPal.FindByTime ( DateTime dateTime,
int compareResult )
inlineprivate

Definition at line 354 of file FindPal.cs.

355 {
358 {
359 int num = global::Interop.crypt32.CertVerifyTimeValidity(ref state.fileTime, pCertContext.CertContext->pCertInfo);
360 GC.KeepAlive(pCertContext);
361 return num == state.compareResult;
362 });
363 }
static void KeepAlive(object? obj)
Definition GC.cs:180
Definition GC.cs:8
static FILETIME FromDateTime(DateTime dt)
Definition FILETIME.cs:17

References Internal.Cryptography.Pal.Native.SafeCertContextHandle.CertContext, Internal.Cryptography.Pal.Native.FILETIME.FromDateTime(), System.item, System.GC.KeepAlive(), Internal.Cryptography.Pal.Native.CERT_CONTEXT.pCertInfo, and System.state.

Referenced by Internal.Cryptography.Pal.FindPal.FindByTimeExpired(), Internal.Cryptography.Pal.FindPal.FindByTimeNotYetValid(), and Internal.Cryptography.Pal.FindPal.FindByTimeValid().