Generate an RSA keypair Popular exponents are 3, 17 and 65537; the bigger it is, the slower encryption becomes

Namespace: MonoSoftware.Core.Cryptography
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public void GenerateKeyPair(
	int exponent
)
Visual Basic
Public Sub GenerateKeyPair ( 
	exponent As Integer
)
Visual C++
public:
void GenerateKeyPair(
	int exponent
)
F#
member GenerateKeyPair : 
        exponent : int -> unit 

Parameters

exponent
Type: System..::..Int32
Exponents are 3, 17 and 65537; the bigger it is, the slower encryption becomes

See Also