Click or drag to resize

HashingSettingsMaxBinaryHashLength Property

Maximum number of bytes to use for MD5/SHA-1 binary hash (digest) calculation. See property HashingType.

Namespace: OpenDiscoverSDK.Interfaces.Settings
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
[DataMemberAttribute]
public long MaxBinaryHashLength { get; set; }

Property Value

Int64
Remarks

Values greater than 0 must be multiples of 64 KB (65,536 bytes). The property setter will enfore this requirement to the nearest multiple of 64 KB.

For values less than or equal to zero, all document bytes are used for the hash.

This property allows users to limit the number of bytes used for binary hash (digest) calculation so that for very large files only the first "MaxBinaryHashLength" bytes are used for the hashing.

Default property value: -1 (use all document bytes for binary hash calculation)

See Also