Share via


RSACryptoServiceProvider Constructor (Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the RSACryptoServiceProvider class with the specified key size.

Namespace:  System.Security.Cryptography
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public Sub New ( _
    keySize As Integer _
)
public RSACryptoServiceProvider(
    int keySize
)
public:
RSACryptoServiceProvider(
    int keySize
)
new : 
        keySize:int -> RSACryptoServiceProvider
public function RSACryptoServiceProvider(
    keySize : int
)

Parameters

Remarks

If no default key is found, a new key is created.

.NET Framework Security

See Also

Reference

RSACryptoServiceProvider Class

RSACryptoServiceProvider Overload

System.Security.Cryptography Namespace