RSACryptoServiceProvider.EncryptValue(Byte[]) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Varning
RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.
Den här metoden stöds inte i den aktuella versionen.
public:
override cli::array <System::Byte> ^ EncryptValue(cli::array <System::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);
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}")>]
override this.EncryptValue : byte[] -> byte[]
override this.EncryptValue : byte[] -> byte[]
Public Overrides Function EncryptValue (rgb As Byte()) As Byte()
Parametrar
- rgb
- Byte[]
De data som ska krypteras.
Returer
Krypterade data.
- Attribut
Undantag
Den här metoden stöds inte i den aktuella versionen.