set_ServerCertificateValidationCallback()

ServicePointManager::set_ServerCertificateValidationCallback(Security::RemoteCertificateValidationCallback) method

Sets the callback that is used to validate a server certificate.

static void System::Net::ServicePointManager::set_ServerCertificateValidationCallback(Security::RemoteCertificateValidationCallback value)

Arguments

ParameterTypeDescription
valueSecurity::RemoteCertificateValidationCallbackThe value to set.

See Also