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

◆ CopyTo()

void Internal.Cryptography.Pal.StorePal.CopyTo ( X509Certificate2Collection collection)
inline

Definition at line 48 of file StorePal.cs.

49 {
50 SafeCertContextHandle pCertContext = null;
51 while (global::Interop.crypt32.CertEnumCertificatesInStore(_certStore, ref pCertContext))
52 {
53 X509Certificate2 certificate = new X509Certificate2(pCertContext.DangerousGetHandle());
54 collection.Add(certificate);
55 }
56 }
SafeCertStoreHandle _certStore
Definition StorePal.cs:13

References Internal.Cryptography.Pal.StorePal._certStore, and System.collection.

Referenced by Internal.Cryptography.Pal.StorePal.CloneTo(), and Internal.Cryptography.Pal.StorePal.MoveTo().