FileGetHash Method (KernelTransaction, String, HashType) |
[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(
KernelTransaction transaction,
string fileFullPath,
HashType hashType
)
Public Shared Function GetHash (
transaction As KernelTransaction,
fileFullPath As String,
hashType As HashType
) As String
public:
static String^ GetHash(
KernelTransaction^ transaction,
String^ fileFullPath,
HashType hashType
)
static member GetHash :
transaction : KernelTransaction *
fileFullPath : string *
hashType : HashType -> string
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - fileFullPath
- Type: SystemString
The name of the file. - hashType
- Type: Alphaleonis.Win32.SecurityHashType
One of the HashType values.
Return Value
Type:
StringThe hash.
See Also