LoconetServiceElapsedTime Property |
Gets the elapsed time since the Loconet service was started.
Namespace:
RRAutoLib.Loconet
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
SyntaxPublic ReadOnly Property ElapsedTime As TimeSpan
Get
Return Value
Type:
TimeSpanIf the service is stopped, the returned value is not valid.
Remarks
The elapsed time is retrieved from the internal stopwatch that is used to time stamp incoming packets.
This value can be used to time stamp custom code, which can later be compared against the packet stamps, for troubleshooting timing issues.
See Also