Language

IDkmGetExpensiveHashValue177.GetExpensiveHashValue Method

Definition

Retrieves an 'expensive' hash value from the provided DkmSourceFileId.

public System.Collections.ObjectModel.ReadOnlyCollection<byte> GetExpensiveHashValue(Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId sourceFileId, out Microsoft.VisualStudio.Debugger.Symbols.DkmHashAlgorithmId algorithm);
abstract member GetExpensiveHashValue : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId * DkmHashAlgorithmId -> System.Collections.ObjectModel.ReadOnlyCollection<byte>
Public Function GetExpensiveHashValue (module As DkmModule, sourceFileId As DkmSourceFileId, ByRef algorithm As DkmHashAlgorithmId) As ReadOnlyCollection(Of Byte)

Parameters

module
DkmModule

[In] The DkmModule class represents a code bundle (ex: dll or exe) which is or once was loaded into one or more processes. The DkmModule class is the central object to the symbol APIs, and is 1:1 with the symbol handler's notation of what is loaded. If a code bundle loads into three different processes (or the same process but with three different base addresses or three different app domains) but the symbol handler thinks of all of these as being identical, there will be only one module object.

sourceFileId
DkmSourceFileId

[In] The SourceFileId for which the expensive checksum value should be retrieved.

algorithm
DkmHashAlgorithmId

[Out] The type of checksum that was calculated.

Returns

[Out] Array of the calculated hash bytes.

Applies to