VB6 GetTickCount() in C#!

C

Chua Wen Ching

Hi there.

I think in vb6, i can use GetTickCount easily by accessing
the user32.dll (hmm.. can't remember what is the dll name,
but something like that)

Is there any code in the System.namespaces which i can get
the exactly same values for GetTickCount() in c#?

I heard timer return seconds rather than miliseconds...

Any help?

Thanks.

Regards,
Chua Wen Ching
 
B

Brian Patterson

System.TickCount

Returns the number of milliseconds since the system started.

Brian Patterson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top