startTimeStamp
is a long, it's not a TimeSpan
and it's not necessarily DateTime.Ticks
.
It will be the time the StopWatch
was started, which will be the time based on a high performance counter, or DateTime.Ticks
if no high performance counter is available.
You can get the current value for what startTimeStamp
is generated from by calling Stopwatch.GetTimeStamp()
static method.
The startTimeStamp
is not directly exposed but you can calculate it by calling
Stopwatch.GetTimeStamp() - stopwatch.GetRawElapsedTicks()