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

Setting Process.ProcessName

P: n/a
I am using the Process class to create a process, and I would like to
set the ProcessName property. The property is read-only and is set to
the name of the EXE.

Is there a way to set the ProcessName?

Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Randy" <Ra*************@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I am using the Process class to create a process, and I would like to
set the ProcessName property. The property is read-only and is set to
the name of the EXE.

Is there a way to set the ProcessName?

No, the process name is the name of the executable that you are starting,
why would you want to change this?

Willy.
Nov 22 '05 #2

P: n/a
I am writing a CRON service to schedule the execution of methods on
classes in .NET assemblies. I was using the Process class to create a
new process to execute an executable which invokes the desired method
using reflection. But, I would like to be able to monitor how many
instances of each CRON job are running. So, I thought I would simple
allow each CRON job to name the process; allowing me to easily monitor
the number of instances.

Any suggestions on other approaches would be appreciated?

Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.