Result produced by CodeHashGenerator. Contains resulting code hash or errors information.
◆ HasFileHash()
bool HasFileHash |
( |
string |
hash | ) |
|
|
inline |
Checks is passes hash exists in file hashes of this instance.
- Parameters
-
- Returns
- True if such hash presents at FileHashes and false otherwise.
◆ PrintToConsole()
Prints found hashes to the console (if any).
◆ SummaryHash
Summary hash for all files in currently running build. May be null in case Success is not true.
Use with caution: summary hash for runtime build may differ from the summary hash you got in Editor, for example, for Android App Bundles. Use FileHashes for more accurate hashes comparison control.
◆ FileHashes
Hashes for all files in currently running build. Feel free to compare it against hashes array you got in Editor to find if runtime version has new unknown hashes (this is an indication build was altered).
◆ ErrorMessage
Error message you could find useful in case Success is not true.
◆ Success
True if generation was successful and resulting hashes are stored in FileHashes, otherwise check ErrorMessage to find out error cause.
◆ DurationSeconds
Hashing duration in seconds. Will be 0 if hashing was not succeed.