PowerTCP Mail for .NET
CertificateStore Constructor(String,String)
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > CertificateStore Class > CertificateStore Constructor : CertificateStore Constructor(String,String)




certFileName
The full filepath of a pfx file on disk.
password
If the pfx file is password protected, specifies the password to use to open the file.
Creates a new CertificateStore object, initializing it with a pfx file on disk.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal certFileName As String, _
   ByVal password As String _
)
Visual Basic (Usage)Copy Code
Dim certFileName As String
Dim password As String
 
Dim instance As New CertificateStore(certFileName, password)
C# 
public CertificateStore( 
   string certFileName,
   string password
)
Managed Extensions for C++ 
public: CertificateStore( 
   string* certFileName,
   string* password
)
C++/CLI 
public:
CertificateStore( 
   String^ certFileName,
   String^ password
)

Parameters

certFileName
The full filepath of a pfx file on disk.
password
If the pfx file is password protected, specifies the password to use to open the file.

Remarks

Use this method to load certificates contained in a digital certificate file (pfx file) into the CertificateStore. The desired certificate can then be chosen from the store

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.