Click or drag to resize

FileHashIsValid(String, String) Method

Checks if the hash for specified file has correct value.

Namespace: Limilabs.FTP.Client.Hash
Assembly: Ftp (in Ftp.dll) Version: 2.0.26109.1248
Syntax
public bool IsValid(
	string path,
	string expectedHashAsHex
)

Parameters

path  String
The file to compute hash for.
expectedHashAsHex  String
Expected hash encoded as hex string (e.g.: 7BEE53C5).

Return Value

Boolean
True if hashes match, false otherwise.
See Also