Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return | bool |
public Verify ( string contentPath, string expectedSha256 ) : bool | ||
contentPath | string | The ContentPath. |
expectedSha256 | string | The ExpectedSha256Hash. |
return | bool |