Compare the hash of given file with the one given.
Namespace: LLCryptoLib.HashAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
bool CompareHash(
string filePath,
string hashToCompare
) |
Visual Basic |
---|
Function CompareHash ( _
filePath As String, _
hashToCompare As String _
) As Boolean |
Visual C++ |
---|
bool CompareHash(
String^ filePath,
String^ hashToCompare
) |
Parameters
- filePath
- Type: System..::..String
File to get the hash for
- hashToCompare
- Type: System..::..String
Hash string to be compared
Return Value
True if the hash of file is the same as hashToCompare string
See Also