Asn1UtcTime(DateTime, TimeZoneInfo, Boolean) Constructor

Initializes a new instance of the Asn1UtcTime class from a date time object to encode, time zone information and value that indicates whether to include millisecond information.

Definition

Namespace: SysadminsLV.Asn1Parser.Universal
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public Asn1UtcTime(
	DateTime time,
	TimeZoneInfo zone = null,
	bool preciseTime = false
)

Parameters

time  DateTime
A DateTime object.
zone  TimeZoneInfo  (Optional)
A TimeZoneInfo object that represents time zone information.
preciseTime  Boolean  (Optional)
True if encoded value should contain millisecond information, otherwise False.

See Also