Click or drag to resize

RestClientSetRequestCertificateValidationCallback Method

Set the callback for certificate validation for the webrequest.

Namespace: SanteDB.Core.Http
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
protected virtual void SetRequestCertificateValidationCallback(
	HttpWebRequest webrequest
)

Parameters

webrequest  HttpWebRequest
The request to set the ServerCertificateValidationCallback for.
Exceptions
ExceptionCondition
PlatformNotSupportedExceptionThe platform does not support setting this per-request. Previous versions of SanteDB would set the ServicePointManager global instance.
See Also