TimeZoneFactoryGetDefaultTimeZoneAsync Method

Gets the default time zone for the application

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9417.0
C#
public Task<IdtTimeZone> GetDefaultTimeZoneAsync(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
A CancellationToken controlling the request lifetime

Return Value

TaskIdtTimeZone

Implements

ITimeZoneFactoryGetDefaultTimeZoneAsync(CancellationToken)

Remarks

If Initialized is false, the method will initialize the factory before returning a result

See Also