NonCryptographicHashAlgorithm.GetCurrentHash Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetCurrentHash() |
Gets the current computed hash value without modifying accumulated state. |
GetCurrentHash(Span<Byte>) |
Writes the computed hash value to |
GetCurrentHash()
Gets the current computed hash value without modifying accumulated state.
public:
cli::array <System::Byte> ^ GetCurrentHash();
public byte[] GetCurrentHash ();
member this.GetCurrentHash : unit -> byte[]
Public Function GetCurrentHash () As Byte()
Returns
The hash value for the data already provided.
Applies to
GetCurrentHash(Span<Byte>)
Writes the computed hash value to destination
without modifying accumulated state.
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
Parameters
Returns
The number of bytes written to destination
, which is always HashLengthInBytes.
Exceptions
destination
is shorter than HashLengthInBytes.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應