<PackageReference Include="System.Formats.Asn1" Version="10.0.0-preview.6.25358.103" />

AsnReaderOptions

public struct AsnReaderOptions
Specifies options that modify the behavior of an AsnReader.
using System.Runtime.CompilerServices; namespace System.Formats.Asn1 { public struct AsnReaderOptions { private const int DefaultTwoDigitMax = 2049; private ushort _twoDigitYearMax; public int UtcTimeTwoDigitYearMax { get { if (_twoDigitYearMax == 0) return 2049; return _twoDigitYearMax; } set { if (value < 1 || value > 9999) throw new ArgumentOutOfRangeException("value"); _twoDigitYearMax = (ushort)value; } } public bool SkipSetSortOrderVerification { [System.Runtime.CompilerServices.IsReadOnly] get; set; } } }