VB.NET
VB.NET
Require that the Web Server's SSL Certificate is Non-Expired and the Signature is Valid
Demonstrates setting the RequireSslCertVerify property to require that the web server's SSL/TLS certificate is non-expired and that the certificate's signature is valid.Chilkat VB.NET Downloads
' This example assumes the Chilkat HTTP API to have been previously unlocked.
' See Global Unlock Sample for sample code.
Dim url As String = "https://chilkatsoft.com"
Dim http As New Chilkat.Http
http.RequireSslCertVerify = True
Dim html As String = http.QuickGetStr(url)
If (http.LastMethodSuccess <> True) Then
Debug.WriteLine(http.LastErrorText)
Exit Sub
End If
Debug.WriteLine("Success.")