Språk

NonCryptographicHashAlgorithm.GetCurrentHash Metod

Definition

Överlagringar

Name Description
GetCurrentHash()

Hämtar det aktuella beräknade hashvärdet utan att ändra ackumulerat tillstånd.

GetCurrentHash(Span<Byte>)

Skriver det beräknade hashvärdet till utan att destination ändra ackumulerat tillstånd.

GetCurrentHash()

Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs

Hämtar det aktuella beräknade hashvärdet utan att ändra ackumulerat tillstånd.

public:
 cli::array <System::Byte> ^ GetCurrentHash();
public byte[] GetCurrentHash();
member this.GetCurrentHash : unit -> byte[]
Public Function GetCurrentHash () As Byte()

Returer

Byte[]

Hash-värdet för de data som redan har angetts.

Gäller för

GetCurrentHash(Span<Byte>)

Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs

Skriver det beräknade hashvärdet till utan att destination ändra ackumulerat tillstånd.

public:
 int GetCurrentHash(Span<System::Byte> destination);
public int GetCurrentHash(Span<byte> destination);
member this.GetCurrentHash : Span<byte> -> int
Public Function GetCurrentHash (destination As Span(Of Byte)) As Integer

Parametrar

destination
Span<Byte>

Bufferten som tar emot det beräknade hashvärdet.

Returer

Antalet byte som skrivs till destination, vilket alltid HashLengthInBytesär .

Undantag

destination är kortare än HashLengthInBytes.

Gäller för