Share via


RSACryptoServiceProvider.ImportParameters Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Imports the specified RSAParameters.

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

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Public Overrides Sub ImportParameters ( _
    parameters As RSAParameters _
)
[SecuritySafeCriticalAttribute]
public override void ImportParameters(
    RSAParameters parameters
)

Parameters

Exceptions

Exception Condition
CryptographicException

The cryptographic service provider (CSP) cannot be acquired.

-or-

The parameters parameter has missing fields.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.