SocketsHttpHandlerBuilder.DisableRemoteCertificateValidation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disable verification of remote certificate on SSL/TLS connections.
public:
Microsoft::Extensions::HttpClient::SocketHandling::SocketsHttpHandlerBuilder ^ DisableRemoteCertificateValidation();
public Microsoft.Extensions.HttpClient.SocketHandling.SocketsHttpHandlerBuilder DisableRemoteCertificateValidation();
member this.DisableRemoteCertificateValidation : unit -> Microsoft.Extensions.HttpClient.SocketHandling.SocketsHttpHandlerBuilder
Public Function DisableRemoteCertificateValidation () As SocketsHttpHandlerBuilder
Returns
The SocketsHttpHandlerBuilder.