NonCryptographicHashAlgorithm.TryGetCurrentHash Método

Definição

Tenta escrever o valor de hash calculado sem destination modificar o estado acumulado.

public:
 bool TryGetCurrentHash(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public bool TryGetCurrentHash(Span<byte> destination, out int bytesWritten);
member this.TryGetCurrentHash : Span<byte> * int -> bool
Public Function TryGetCurrentHash (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

Parâmetros

destination
Span<Byte>

O buffer que recebe o valor de hash calculado.

bytesWritten
Int32

Quando este método retorna, contém o número de bytes escritos em destination.

Devoluções

true se destination for suficientemente longo para receber o valor de hash calculado; caso contrário, false.

Aplica-se a