一款简单易用的基础网络通讯组件库。

FileUtilityGetStreamHash 方法

获得流Hash值

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public static string GetStreamHash(
	Stream stream,
	HashAlgorithm hash
)

参数

stream  Stream

[缺少 "M:TouchSocket.Core.FileUtility.GetStreamHash(System.IO.Stream,System.Security.Cryptography.HashAlgorithm)" 的 <param name="stream"/> 文档]

hash  HashAlgorithm

[缺少 "M:TouchSocket.Core.FileUtility.GetStreamHash(System.IO.Stream,System.Security.Cryptography.HashAlgorithm)" 的 <param name="hash"/> 文档]

返回值

String

[缺少 "M:TouchSocket.Core.FileUtility.GetStreamHash(System.IO.Stream,System.Security.Cryptography.HashAlgorithm)" 的 <returns> 文档]

参见