| FileHashIsValid Method (String, String) |
Checks if the hash for specified file has correct value.
Namespace:
Limilabs.FTP.Client.Hash
Assembly:
Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax public bool IsValid(
string path,
string expectedHashAsHex
)
Public Function IsValid (
path As String,
expectedHashAsHex As String
) As Boolean
public:
bool IsValid(
String^ path,
String^ expectedHashAsHex
)
member IsValid :
path : string *
expectedHashAsHex : string -> bool
Parameters
- path
- Type: SystemString
The file to compute hash for. - expectedHashAsHex
- Type: SystemString
Expected hash encoded as hex string (e.g.: 7BEE53C5).
Return Value
Type:
BooleanTrue if hashes match, false otherwise.
See Also