Метод | Описание | |
---|---|---|
Verify ( Stream fileStream, string expectedSha256 ) : bool |
Checks whether the content file is modified.
|
|
Verify ( string contentPath, string expectedSha256 ) : bool |
Checks whether the content file is modified.
|
Метод | Описание | |
---|---|---|
ContentVerifier ( ) : System |
Initializes a new ContentVerifier class.
|
|
Sha256 ( Stream fileStream ) : string |
Gets the Sha256-Hash of a file.
|
|
Sha256 ( string file ) : string |
Gets the Sha256-Hash of a file.
|
public Verify ( Stream fileStream, string expectedSha256 ) : bool | ||
fileStream | Stream | The FileStream. |
expectedSha256 | string | The ExpectedSha256Hash. |
Результат | bool |
public Verify ( string contentPath, string expectedSha256 ) : bool | ||
contentPath | string | The ContentPath. |
expectedSha256 | string | The ExpectedSha256Hash. |
Результат | bool |