Field EnableModelChecksumValidation
Gets or sets a value indicating whether model file integrity must be validated during loading.
public static bool EnableModelChecksumValidation
Returns
- bool
trueto enable checksum validation; otherwise,false. Default isfalse.
Remarks
When enabled, the system computes and verifies the SHA-256 checksum of each model file to ensure its integrity.
**Performance Consideration:** Enabling this validation can slow down the loading process of large models because computing the SHA-256 checksum is computationally intensive. It's recommended to disable this option in scenarios where loading speed is critical and the model sources are trusted.