Back to product page

Certificate property


Holds client's certificate/public key, if provided.

Type

An ICertificate object.

Syntax

  • Basic
object.Certificate
The Certificate(object) syntax has these parts:
objectAn expression evaluating to an object of type FtpUser.

Remarks

If you use wodFTPServer and accept remote certificates (FTPS protocol) or public keys (SFTP protocol), Certificate property will keep this information for you. You can use certificate stored here to decide if you will allow user to access your system or not. This property is filled just before LoginCertificate event fires - a good place to determine if you will allow access or not.

If you're interested in quick look to client's certificate (if set!) you can always call User.Certificate.Show method.

Platforms

Windows