Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RSACng::EncryptValue Method (array<Byte>^)

.NET Framework (current version)
 

Encrypts the input data using the public key.

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

public:
virtual array<unsigned char>^ EncryptValue(
	array<unsigned char>^ rgb
) override

Parameters

rgb
Type: array<System::Byte>^

The plain text to be encrypted.

Return Value

Type: array<System::Byte>^

The resulting encryption of the rgb parameter as cipher text.

Exception Condition
NotSupportedException

This method call is not supported.

.NET Framework
Available since 4.6.2
Return to top
Show:
© 2017 Microsoft