How to get current thread id

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I get the current thread ID in C# 2.0? I know there is a deprecated
one, but I can't find it. Also, is there another, not deprecated way, of
finding the thread id?
 
us thead.ManagedTheadId in lue of

http://msdn.microsoft.com/netframework/programming/obsoleteapi/ObsByNamespace.aspx#System

Joachim said:
How do I get the current thread ID in C# 2.0? I know there is a deprecated
one, but I can't find it. Also, is there another, not deprecated way, of
finding the thread id?
--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

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

Back
Top