NonCryptographicHashAlgorithm.TryGetCurrentHash 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
누적 상태를 수정하지 않고 계산된 해시 값을 에 destination 쓰려고 시도합니다.
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
매개 변수
- bytesWritten
- Int32
이 메서드가 반환될 때 destination에 기록되는 바이트 수를 포함합니다.
반환
true 가 계산된 해시 값을 받을 만큼 충분히 길면 destination 이고, false그렇지 않으면 입니다.