DkmModule.GetExpensiveHashValue(DkmSourceFileId, DkmHashAlgorithmId) 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.
Retrieves an 'expensive' hash value from the provided DkmSourceFileId.
Location constraint: API must be called from an IDE component (component level > 100,000).
This API was introduced in Visual Studio 17 Update 7 (DkmApiVersion.VS17Update7).
public System.Collections.ObjectModel.ReadOnlyCollection<byte> GetExpensiveHashValue (Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId SourceFileId, out Microsoft.VisualStudio.Debugger.Symbols.DkmHashAlgorithmId Algorithm);
member this.GetExpensiveHashValue : Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId * DkmHashAlgorithmId -> System.Collections.ObjectModel.ReadOnlyCollection<byte>
Public Function GetExpensiveHashValue (SourceFileId As DkmSourceFileId, ByRef Algorithm As DkmHashAlgorithmId) As ReadOnlyCollection(Of Byte)
Parameters
- 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.