'Declaration
<ExtensionAttribute()> Public Overloads Shared Function AddToStore( _ ByVal certificate As X509Certificate2, _ ByVal storeIdentifier As CertificateStoreIdentifier, _ Optional ByVal password As String _ ) As X509Certificate2
'Usage
Dim certificate As X509Certificate2 Dim storeIdentifier As CertificateStoreIdentifier Dim password As String Dim value As X509Certificate2 value = X509Utils.AddToStore(certificate, storeIdentifier, password)
[Extension()] public static X509Certificate2 AddToStore( X509Certificate2 certificate, CertificateStoreIdentifier storeIdentifier, string password )
[Extension()] public: static X509Certificate2^ AddToStore( X509Certificate2^ certificate, CertificateStoreIdentifier^ storeIdentifier, String^ password )
Parameters
- certificate
- The certificate to store.
- storeIdentifier
- The certificate store.
- password
- The password to use to protect the certificate.