Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ServerCertificateCustomValidationCallback
Func<
HttpRequestMessage
,
X509Certificate2
?,
X509Chain
?,
SslPolicyErrors
,
bool
>? System.Net.Http.HttpClientHandler.ServerCertificateCustomValidationCallback
get
set
Definition at line
271
of file
HttpClientHandler.cs
.
272
{
273
get
274
{
275
return
(
_underlyingHandler
.
SslOptions
.
RemoteCertificateValidationCallback
?.Target
as
ConnectHelper.CertificateCallbackMapper)?.FromHttpClientHandler;
276
}
277
set
278
{
279
ThrowForModifiedManagedSslOptionsIfStarted
();
280
_underlyingHandler.SslOptions.RemoteCertificateValidationCallback = ((
value
!=
null
) ?
new
ConnectHelper.CertificateCallbackMapper(
value
).ForSocketsHttpHandler :
null
);
281
}
282
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Net.Http.HttpClientHandler.ThrowForModifiedManagedSslOptionsIfStarted
void ThrowForModifiedManagedSslOptionsIfStarted()
Definition
HttpClientHandler.cs:344
System.Net.Http.HttpClientHandler._underlyingHandler
readonly SocketsHttpHandler _underlyingHandler
Definition
HttpClientHandler.cs:14
System.Net.Http.SocketsHttpHandler.SslOptions
SslClientAuthenticationOptions SslOptions
Definition
SocketsHttpHandler.cs:228
System.Net.Security.SslClientAuthenticationOptions.RemoteCertificateValidationCallback
RemoteCertificateValidationCallback? RemoteCertificateValidationCallback
Definition
SslClientAuthenticationOptions.cs:31
System.ExceptionArgument.value
@ value
System
Net
Http
HttpClientHandler
Generated by
1.10.0