CngKeyCreationParameters.KeyCreationOptions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the key creation options.
public:
property System::Security::Cryptography::CngKeyCreationOptions KeyCreationOptions { System::Security::Cryptography::CngKeyCreationOptions get(); void set(System::Security::Cryptography::CngKeyCreationOptions value); };
public System.Security.Cryptography.CngKeyCreationOptions KeyCreationOptions { get; set; }
member this.KeyCreationOptions : System.Security.Cryptography.CngKeyCreationOptions with get, set
Public Property KeyCreationOptions As CngKeyCreationOptions
Property Value
An object that specifies options for creating keys. The default value is null
, which indicates that the key storage provider's default key creation options are set.
Remarks
The returned CngKeyCreationOptions object defines options that are used when you create a new CngKey object. These options determine whether the key is created in the user or machine key store, and whether a new key should overwrite an existing key. By default, if CngKeyCreationOptions.MachineKey is not specified, the key is created in the user store.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για