'Declaration
<AsyncStateMachineAttribute(Opc.Ua.X509Utils/d__23)> <ExtensionAttribute()> Public Overloads Shared Function AddToStoreAsync( _ ByVal certificate As X509Certificate2, _ ByVal storeIdentifier As CertificateStoreIdentifier, _ Optional ByVal password As String, _ Optional ByVal ct As CancellationToken _ ) As Task(Of X509Certificate2)
'Usage
Dim certificate As X509Certificate2 Dim storeIdentifier As CertificateStoreIdentifier Dim password As String Dim ct As CancellationToken Dim value As Task(Of X509Certificate2) value = X509Utils.AddToStoreAsync(certificate, storeIdentifier, password, ct)
[AsyncStateMachine(Opc.Ua.X509Utils/d__23)] [Extension()] public static Task<X509Certificate2> AddToStoreAsync( X509Certificate2 certificate, CertificateStoreIdentifier storeIdentifier, string password, CancellationToken ct )
[AsyncStateMachine(Opc.Ua.X509Utils/d__23)] [Extension()] public: static Task<X509Certificate2^>^ AddToStoreAsync( X509Certificate2^ certificate, CertificateStoreIdentifier^ storeIdentifier, String^ password, CancellationToken ct )
Parameters
- certificate
- The certificate to store.
- storeIdentifier
- Type of certificate store (Directory) CertificateStoreType.
- password
- The password to use to protect the certificate.
- ct
- The cancellation token.