Persist() public method

Makes a key persistent on the local machine with the specified level of protection.
public Persist ( KeySecurity KeySecurity ) : void
KeySecurity KeySecurity Key protection level to be applied.
return void
Exemplo n.º 1
0
 /// <summary>
 /// Generate a new RSA Key Pair with the Key size specified when the 
 /// instance was created.
 /// </summary>
 public override void Generate(KeySecurity KeySecurity) {
 _RSAKeyPair = new RSAKeyPair(KeySize);
 _RSAKeyPair.Persist(KeySecurity);
     }