RsaProtectedConfigurationProvider.AddKey(Int32, Boolean) Method
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.
Adds a key to the RSA key container.
public:
void AddKey(int keySize, bool exportable);
public void AddKey (int keySize, bool exportable);
member this.AddKey : int * bool -> unit
Public Sub AddKey (keySize As Integer, exportable As Boolean)
Parameters
- keySize
- Int32
The size of the key to add.
- exportable
- Boolean
true
to indicate that the key is exportable; otherwise, false
.