Tag a process with a string

Posted by AlexDrenea on Stack Overflow See other posts from Stack Overflow or by AlexDrenea
Published on 2010-03-25T16:03:48Z Indexed on 2010/03/25 16:13 UTC
Read the original article Hit count: 341

Filed under:
|
|

Hi guys, I am trying to reproduce Process Exporer's feature to tag a process running on the current machine with a Comment (Please see the Comment section in the Process properties in Process Explorer).

I couldn't find any way to do it with managed code, had a try with wmic utility but I wasn't able to find a way to set a property to an existing process.

Also, searching the web returns some pretty vague responses since all the search terms are so general..

If anybody has at least a hint I will appreciate it.

Alex.

P.S I am using C# for the project but I am opened to use unmanaged code if that's what it takes :)

© Stack Overflow or respective owner

Related posts about sysinternals

Related posts about Windows