Pkcs12Builder.TryEncode(Span<Byte>, Int32) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Tente d’encoder le contenu d’un PFX scellé dans une mémoire tampon fournie.
public:
bool TryEncode(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public bool TryEncode(Span<byte> destination, out int bytesWritten);
member this.TryEncode : Span<byte> * int -> bool
Public Function TryEncode (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean
- bytesWritten
- Int32
Quand cette méthode est retournée, contient une valeur qui indique le nombre d’octets écrits dans destination
. Ce paramètre est traité comme étant non initialisé.
true
si destination
est suffisamment grand pour recevoir la sortie ; sinon, false
.
Le PFX n’est pas scellé (IsSealed est false
).
Produit | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.1 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :