Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Hashes a complete declared input closure independently of checkout location and file timestamps.

API: engine
Project: Inno.Build.Toolchains

public static string Inno.Build.Toolchains.NativeBuildFingerprint.Create(System.Collections.Generic.IEnumerable<string> declarations, System.Collections.Generic.IEnumerable<Inno.Build.Toolchains.NativeBuildInput> inputs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter declarations: Ordered target, configuration, SDK, compiler and linker arguments. Order is significant.

Parameter inputs: Files and directories with explicit logical identities; overlapping reading locations are hashed once.

Parameter cancellationToken: Cancels enumeration or complete content hashing before a fingerprint is returned.

A lowercase SHA-256 identity that changes when a declaration, input inventory or input byte changes.

Exception T:System.ArgumentNullException: A required input collection is null.

Exception T:System.IO.IOException: An input cannot be read or contains a directory-link cycle.

Exception T:System.OperationCanceledException: Content hashing was canceled.