ImportParameters Method

RSACryptoServiceProvider.ImportParameters Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Imports the specified RSAParameters.

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

public override void ImportParameters(
	RSAParameters parameters
)

Parameters

parameters
Type: System.Security.Cryptography.RSAParameters
The parameters for RSA.

ExceptionCondition
CryptographicException

The cryptographic service provider (CSP) cannot be acquired.

-or-

The parameters parameter has missing fields.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft