Class BuildHashes
Contains hashes for the application build.
public class BuildHashes
- Inheritance
-
objectBuildHashes
Properties
BuildPath
Path to the build file or folder.
public string BuildPath { get; }
Property Value
- string
DurationSeconds
Hashing duration in seconds. Will be 0 if hashing was not succeed.
public double DurationSeconds { get; set; }
Property Value
- double
FileHashes
Contains all sensitive files hashes and relative paths.
public IReadOnlyList<FileHash> FileHashes { get; }
Property Value
- IReadOnlyList<FileHash>
SummaryHash
Summary hash for all files in build.
public string SummaryHash { get; }
Property Value
- string
Remarks
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.
Methods
HasFileHash(string)
Checks is passes hash exists in file hashes of this instance.
public bool HasFileHash(string hash)
Parameters
hashstringTarget file hash.
Returns
- bool
True if such hash presents at FileHashes and false otherwise.
PrintToConsole()
Sends enclosing hashes to the console along with file names.
public void PrintToConsole()