DkmHashValue.Create(String, ReadOnlyCollection<Byte>) 方法

定义

创建新的 DkmHashValue 对象实例。

         此 API 是在 Visual Studio 15 Update 9 (VS15Update9) 中引入的。
public:
 static Microsoft::VisualStudio::Debugger::Symbols::DkmHashValue ^ Create(System::String ^ Algorithm, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ Bytes);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmHashValue Create (string Algorithm, System.Collections.ObjectModel.ReadOnlyCollection<byte> Bytes);
static member Create : string * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> Microsoft.VisualStudio.Debugger.Symbols.DkmHashValue
Public Shared Function Create (Algorithm As String, Bytes As ReadOnlyCollection(Of Byte)) As DkmHashValue

参数

Algorithm
String

中用于计算此哈希的加密哈希算法的名称,例如 "SHA1"。

Bytes
ReadOnlyCollection<Byte>

中哈希值的字节数。

返回

DkmHashValue

弄此方法调用的结果。

适用于