[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Ajay K. Agrawal

8/28/2002 7:07:00 PM

How does one get the current thread id without restoring to calling the
unmanaged function GetCurrentThreadId?

Thanks!

-Ajay Agrawal


1 Answer

NETMaster

8/28/2002 7:20:00 PM

0

Easy:
AppDomain.GetCurrentThreadId()

(but there is no 100% relation from .NET threads to Win32 threads)


--
NETMaster (Thomas Scheidegger)
http://www.cetus-links.org/oo_c...


"Ajay K. Agrawal" <ajaykagrawal@hotmail.com> wrote in message news:#RV0CVrTCHA.3712@tkmsftngp09...
> How does one get the current thread id without restoring to calling the
> unmanaged function GetCurrentThreadId?