SSLSocket.CertificateFile

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As FolderItem )
aSSLSocket.CertificateFile = newFolderItemValue
or
FolderItemValue = aSSLSocket.CertificateFile

New in 2006r4

Supported for all project types and targets.

The file that contains the SSL certificate.

Sample Code

This example opens the certificate file and assigns it to the property.

Var f As FolderItem
f = FolderItem.ShowOpenFileDialog("text/plain")
If f <> Nil Then
Socket1.CertificateFile = f
End If