471,627 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

What's the name of my own process?

UJ
I need to find out what the name is of the process that I'm running. I can
get a list of processes but I don't which one is me.

How do I figure that out?

TIA - Jeff.
Feb 10 '06 #1
2 1189
UJ <fr**@nowhere.com> wrote:
I need to find out what the name is of the process that I'm running. I can
get a list of processes but I don't which one is me.

How do I figure that out?


See Process.GetCurrentProcess()

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Feb 10 '06 #2
Hi
"UJ" <fr**@nowhere.com> wrote in message
news:ex*************@TK2MSFTNGP15.phx.gbl...
I need to find out what the name is of the process that I'm running. I can
get a list of processes but I don't which one is me.

How do I figure that out?


System.Diagnostics.Process.GetCurrentProcess().Pro cessName


--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Feb 10 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by anonieko | last post: by
12 posts views Thread by Steven T. Hatton | last post: by
121 posts views Thread by typingcat | last post: by
3 posts views Thread by Greg Merideth | last post: by
reply views Thread by Radu | last post: by
185 posts views Thread by jacob navia | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.