Synced
ContentPackDescriptor.Constructor
Section titled “ContentPackDescriptor.Constructor”
- Validates the complete pack identity and its single portable file name.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Content
Declaration
Section titled “Declaration”public Inno.Content.ContentPackDescriptor.ContentPackDescriptor(string contentHash, string fileName)Parameters
Section titled “Parameters”Parameter contentHash: The SHA-256 of the complete pack bytes.
Parameter fileName: The name content-{uppercase SHA-256}.pack relative to the source.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The hash or file name does not identify one current-format pack.