Certificate Constructor (String, CertFileType, String) |
Loads the certificate from a file and returns it as
Certificate object.
Namespace: MailBee.SecurityAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Certificate(
string filename,
CertFileType fileType,
string pfxFilePassword
)
Public Sub New (
filename As String,
fileType As CertFileType,
pfxFilePassword As String
)
Parameters
- filename
- Type: SystemString
The path to the certificate file. - fileType
- Type: MailBee.SecurityCertFileType
The certificate file type. - pfxFilePassword
- Type: SystemString
The .PFX (.P12, PKCS #12) file password, or a null reference (Nothing in Visual Basic)
if fileType is not Pfx.
Exceptions See Also