Availability
This routine is available starting with SIL Engine™ 4.0.8.
Syntax
fileSHA256Checksum(file)
Package
file
Short Name
checksum (only when using package)
Description
Returns the SHA256 checksum of the file.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
file | string | Yes | Specifies the file name to read from. |
Return type
string
Example
fileSHA256Checksum("C:/story.txt");
Notes
- You can use absolute paths and relative paths to "sil.home".
- If the file is not found, an error will be raised.
See also