Share via


DownloadCertificateOptions.KeyStorageFlags Property

Definition

Gets or sets a combination of the enumeration values that control where and how to import the certificate. The default is DefaultKeySet.

public System.Security.Cryptography.X509Certificates.X509KeyStorageFlags KeyStorageFlags { get; set; }
member this.KeyStorageFlags : System.Security.Cryptography.X509Certificates.X509KeyStorageFlags with get, set
Public Property KeyStorageFlags As X509KeyStorageFlags

Property Value

Remarks

These X509KeyStorageFlags are passed to X509Certificate2(String, String, X509KeyStorageFlags) when constructing the certificate. The default is DefaultKeySet and behavior may vary across platforms. There may also be new values supported when targeting newer versions of .NET such as EphemeralKeySet that you set in this property to use when creating an X509Certificate2.

Applies to