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# |
---|
public bool CompareHash(
string filePath,
string hashToCompare
) |
Visual Basic |
---|
Public Function CompareHash ( _
filePath As String, _
hashToCompare As String _
) As Boolean |
Visual C++ |
---|
public:
virtual bool CompareHash(
String^ filePath,
String^ hashToCompare
) sealed |
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
Implements
IHash..::..CompareHash(String, String)
See Also