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

ProcessThread name

P: n/a
hello, i ve create a stress test prog for IIs.
And now i want know the domain name of the process...

PID = virtual domaine name ID;
ProcessThreadCollection ThreadList = Process.GetProcessById(PID).Threads;

foreach (ProcessThread TempThread in ThreadList)
{
int ProcessIDChild = TempThread.Id;
string PIDname = ??; // i want retrieve : www.johndoe.com
thx for your experience
Nov 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
The process ID normally is the name of the exe file.

Regards,

Bela Istok

"Steph" <pi**@pipo.comwrote in message
news:45***********************@news.orange.fr...
hello, i ve create a stress test prog for IIs.
And now i want know the domain name of the process...

PID = virtual domaine name ID;
ProcessThreadCollection ThreadList = Process.GetProcessById(PID).Threads;

foreach (ProcessThread TempThread in ThreadList)
{
int ProcessIDChild = TempThread.Id;
string PIDname = ??; // i want retrieve : www.johndoe.com
thx for your experience

Nov 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.