Partager via


RSACryptoServiceProvider.EncryptValue Method

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

This method is not supported in the current version.

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

Syntax

'Declaration
Public Overrides Function EncryptValue ( _
    rgb As Byte() _
) As Byte()
public override byte[] EncryptValue(
    byte[] rgb
)

Parameters

  • rgb
    Type: array<System.Byte[]
    The data to be encrypted.

Return Value

Type: array<System.Byte[]
The encrypted data.

Exceptions

Exception Condition
NotSupportedException

This method is not supported in the current version.

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.