Hashing SettingsMax Binary Hash Length Property
Maximum number of bytes to use for MD5/SHA-1 binary hash (digest) calculation. See property HashingType.
Definition
Namespace: OpenDiscoverSDK.Interfaces.Settings
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
C#
[DataMemberAttribute]
public long MaxBinaryHashLength { get; set; }Property Value
Int64Remarks
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)