NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Environment.TickCount

The number of milliseconds that have elapsed since the system was started.

[Visual Basic]
Public Shared ReadOnly Property TickCount As Integer
[C#]
public static int TickCount {get;}
[C++]
public: __property static int get_TickCount();
[JScript]
public static function get TickCount() : int;

Property Value

The number of milliseconds elapsed since system start.

Remarks

The value is limited to the resolution of the system timer. The elapsed time is stored as an Int32 value. Therefore, the time will wrap around to zero if the system is run continuously for 49.7 days.

Notice this is different from the Tick count in System.DateTime, which is the number of 100-nanosecond intervals that have elapsed since 1/1/0001, 12:00am.

See Also

Environment Class | Environment Members | System Namespace