18 lines
518 B
C#
18 lines
518 B
C#
namespace xCommons.Configurations
|
|
{
|
|
/// <summary>
|
|
/// Configuration options for XFileTypeDetector ...
|
|
/// </summary>
|
|
public sealed class XFileTypeDetectorConfiguration
|
|
{
|
|
/// <summary>
|
|
/// When true, magic bytes are always read first ...
|
|
/// </summary>
|
|
public bool PreferMagicBytes { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Number of bytes read from the stream header ...
|
|
/// </summary>
|
|
public int HeaderSize { get; set; } = 32;
|
|
}
|
|
} |