Hi,

Could someone tell me if there is a version of the GetTickCount api in the
.NET framework?

Regards,

Joshua

Re: GetTickCount call in Framework by Dick

Dick
Tue Mar 08 10:19:01 CST 2005

You might want to take a look at DateTime.Now.Ticks

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.



Re: GetTickCount call in Framework by Imran

Imran
Tue Mar 08 10:29:44 CST 2005

System.Environment.TickCount

In future, if you need to find if there is a managed counter part for a given
Win32 API, you could look this up:
http://msdn.microsoft.com/netframework/programming/interop/default.aspx?pull=/library/en-us/dndotnet/html/win32map.asp

hope that helps..
Imran.

> Hi,
>
> Could someone tell me if there is a version of the GetTickCount api in
> the .NET framework?
>
> Regards,
>
> Joshua
>




Re: GetTickCount call in Framework by Matt

Matt
Tue Mar 08 10:32:15 CST 2005

Hello Joshua,

Look at Environment.TickCount [1]

[1] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemenvironmentclasstickcounttopic.asp

--
Matt Berther
http://www.mattberther.com

> Hi,
>
> Could someone tell me if there is a version of the GetTickCount api in
> the .NET framework?
>
> Regards,
>
> Joshua
>