DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb Namespace / DicomWebClient Class / ServerCertificateCustomValidationCallback Property






In This Topic
    ServerCertificateCustomValidationCallback Property
    In This Topic
    Web client server certificate validation callbcak
    Syntax
    'Declaration
     
    
    Public Property ServerCertificateCustomValidationCallback As System.Func(Of HttpRequestMessage,X509Certificate2,X509Chain,SslPolicyErrors,Boolean)
    'Usage
     
    
    Dim instance As DicomWebClient
    Dim value As System.Func(Of HttpRequestMessage,X509Certificate2,X509Chain,SslPolicyErrors,Boolean)
     
    instance.ServerCertificateCustomValidationCallback = value
     
    value = instance.ServerCertificateCustomValidationCallback
    public System.Func<HttpRequestMessage,X509Certificate2,X509Chain,SslPolicyErrors,bool> ServerCertificateCustomValidationCallback {get; set;}
    public read-write property ServerCertificateCustomValidationCallback: System.Func; 
    public function get,set ServerCertificateCustomValidationCallback : System.Func
    public: __property System.Func<HttpRequestMessage*,X509Certificate2*,X509Chain*,SslPolicyErrors,bool>* get_ServerCertificateCustomValidationCallback();
    public: __property void set_ServerCertificateCustomValidationCallback( 
       System.Func<HttpRequestMessage*,X509Certificate2*,X509Chain*,SslPolicyErrors,bool>* value
    );
    public:
    property System.Func<HttpRequestMessage^,X509Certificate2^,X509Chain^,SslPolicyErrors,bool>^ ServerCertificateCustomValidationCallback {
       System.Func<HttpRequestMessage^,X509Certificate2^,X509Chain^,SslPolicyErrors,bool>^ get();
       void set (    System.Func<HttpRequestMessage^,X509Certificate2^,X509Chain^,SslPolicyErrors,bool>^ value);
    }
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also