Sdílet prostřednictvím


RSACryptoServiceProvider.EncryptValue(Byte[]) Metoda

Definice

Upozornění

RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.

Tato metoda není v aktuální verzi podporována.

public:
 override cli::array <System::Byte> ^ EncryptValue(cli::array <System::Byte> ^ rgb);
public override byte[] EncryptValue (byte[] rgb);
[System.Obsolete("RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.", DiagnosticId="SYSLIB0048", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public override byte[] EncryptValue (byte[] rgb);
override this.EncryptValue : byte[] -> byte[]
[<System.Obsolete("RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.", DiagnosticId="SYSLIB0048", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
override this.EncryptValue : byte[] -> byte[]
Public Overrides Function EncryptValue (rgb As Byte()) As Byte()

Parametry

rgb
Byte[]

Data, která se mají šifrovat.

Návraty

Byte[]

Šifrovaná data.

Atributy

Výjimky

Tato metoda není v aktuální verzi podporována.

Platí pro

Viz také