| 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.
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
Target Platforms: Microsoft .NET Framework 2.0