Property Timestamp
| Edit this page View SourceTimestamp
Gets a relative timestamp in milliseconds indicating the time the message was created.
Declaration
public double Timestamp { get; }
Property Value
Type | Description |
---|---|
double |
Remarks
This value is deduced from System.Diagnostics.Stopwatch.GetTimestamp() * 1000d / System.Diagnostics.Stopwatch.Frequency
.
You can use it to calculate the age of the message in milliseconds by calculating the difference between the timestamp and the above expression
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | main, v3.0, v2.2, v2.1 |
.NET | main, v3.0 |
.NET Windows | main, v3.0 |
.NET Android | main, v3.0 |
.NET iOS | main, v3.0 |
.NET Framework | main, v3.0, v2.2, v2.1 |
UWP | main, v3.0, v2.2, v2.1 |
Xamarin.Android | v2.2, v2.1 |
Xamarin.iOS | v2.2, v2.1 |