| FileHashIsValid Method (Stream, Byte) |
Checks if the hash for specified stream has correct value.
Namespace:
Limilabs.FTP.Client.Hash
Assembly:
Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax public bool IsValid(
Stream stream,
byte[] expectedHash
)
Public Function IsValid (
stream As Stream,
expectedHash As Byte()
) As Boolean
public:
bool IsValid(
Stream^ stream,
array<unsigned char>^ expectedHash
)
member IsValid :
stream : Stream *
expectedHash : byte[] -> bool
Parameters
- stream
- Type: System.IOStream
The stream to compute hash for. - expectedHash
- Type: SystemByte
Expected hash.
Return Value
Type:
BooleanTrue if hashes match, false otherwise.
See Also