ServicePointManager.ServerCertificateValidationCallback Property

Gets or sets the callback to validate a server certificate.

Namespace: System.Net
Assembly: System (in system.dll)

public static RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; }
/** @property */
public static RemoteCertificateValidationCallback get_ServerCertificateValidationCallback ()

/** @property */
public static void set_ServerCertificateValidationCallback (RemoteCertificateValidationCallback value)

public static function get ServerCertificateValidationCallback () : RemoteCertificateValidationCallback

public static function set ServerCertificateValidationCallback (value : RemoteCertificateValidationCallback)

Not applicable.

Property Value

A RemoteCertificateValidationCallback The default value is a null reference (Nothing in Visual Basic).

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0