Document ContentFile Entropy Property
Shannon entropy of the document's bytes.
Definition
Namespace: OpenDiscoverSDK.Interfaces.Content
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 double? FileEntropy { get; set; }Property Value
NullableDoubleRemarks
This property is only calculated if Hashing property CalculateFileEntropy is true.
An important detection method for detecting compressed and encrypted files is the randomness of the bytes in the file. Values of this property that approach the upper limit of 8 are very random (with 8.0 being completely random).