By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,465 Members | 1,497 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,465 IT Pros & Developers. It's quick & easy.

How to get current thread id

P: n/a
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?
May 11 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
us thead.ManagedTheadId in lue of

http://msdn.microsoft.com/netframewo...ce.aspx#System

"Joachim" wrote:
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

May 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.