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

FileUtilityGetFileHash 方法

获得文件Hash值

Definition

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

参数

filePath  String
文件路径
hash  HashAlgorithm

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

返回值

String

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

参见