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

◆ CreateForX509Collection()

static SslCertificateTrust System.Net.Security.SslCertificateTrust.CreateForX509Collection ( X509Certificate2Collection trustList,
bool sendTrustInHandshake = false )
inlinestatic

Definition at line 31 of file SslCertificateTrust.cs.

32 {
33 if (sendTrustInHandshake)
34 {
35 throw new PlatformNotSupportedException("Not supported yet.");
36 }
37 if (sendTrustInHandshake)
38 {
39 throw new PlatformNotSupportedException(System.SR.net_ssl_trust_collection);
40 }
41 SslCertificateTrust sslCertificateTrust = new SslCertificateTrust();
42 sslCertificateTrust._trustList = trustList;
43 sslCertificateTrust._sendTrustInHandshake = sendTrustInHandshake;
44 return sslCertificateTrust;
45 }
static string net_ssl_trust_collection
Definition SR.cs:128
Definition SR.cs:7

References System.Net.Security.SslCertificateTrust.SslCertificateTrust(), and System.SR.net_ssl_trust_collection.