Visual Basic (Declaration) | |
---|---|
Public Sub AddCertificate( _ ByVal certificateName As String, _ ByVal format As CertificateFormat, _ ByVal data As String, _ ByVal password As String, _ ByVal storeName As StoreName, _ ByVal storeLocation As StoreLocation _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As UserCertificateManagement Dim certificateName As String Dim format As CertificateFormat Dim data As String Dim password As String Dim storeName As StoreName Dim storeLocation As StoreLocation instance.AddCertificate(certificateName, format, data, password, storeName, storeLocation) |
C# | |
---|---|
public void AddCertificate( string certificateName, CertificateFormat format, string data, string password, StoreName storeName, StoreLocation storeLocation ) |
C++/CLI | |
---|---|
public: void AddCertificate( String^ certificateName, CertificateFormat format, String^ data, String^ password, StoreName storeName, StoreLocation storeLocation ) |
Parameters
- certificateName
- format
- data
- password
- storeName
- storeLocation
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2