Class SftpFileHash
A hash of a remote file, or of a range of it, as the server computed it (GetFileHashAsync(string, IReadOnlyList<string>?, long, long?, CancellationToken)).
public sealed class SftpFileHash
- Inheritance
-
SftpFileHash
- Inherited Members
Properties
- Algorithm
The algorithm the server used, by its
check-filename (sha256,sha512,md5, ...): one of those asked for.
- Hash
The hash (digest) the server sent.
Methods
- Matches(ReadOnlySpan<byte>)
Whether
hash, computed locally with Algorithm, is this hash.