Click or drag to resize

FileGetHash Method (String, HashType, PathFormat)

[AlphaFS] Calculates the hash/checksum for the given fileFullPath.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static string GetHash(
	string fileFullPath,
	HashType hashType,
	PathFormat pathFormat
)

Parameters

fileFullPath
Type: SystemString
The name of the file.
hashType
Type: Alphaleonis.Win32.SecurityHashType
One of the HashType values.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).

Return Value

Type: String
The hash.
See Also