Прочитај на енглеском Уреди

Делите путем


TimeProvider.GetTimestamp Method

Definition

Gets the current high-frequency value designed to measure small time intervals with high accuracy in the timer mechanism.

C#
public virtual long GetTimestamp();

Returns

A long integer representing the high-frequency counter value of the underlying timer mechanism.

Remarks

The default implementation returns GetTimestamp().

Applies to

Производ Верзије
.NET 8, 9, 10
.NET Standard 2.0 (package-provided)