Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Modify process command line parameters after a process has started

$
0
0

I'm just wondering if it's possible to remove a command line parameter of a running process.

The reason behind this: My application can be started with parameters like /username:abc /password:xyz
The Windows Task Manager and other software (like Process Explorer) can visualize running processes and their command line arguments. If the process is running on a machine with several users logged in simultaneously then other users could possibly see the password. Therefore if my process was started with a /password parameter I'd like to remove it so that it's not visible in Task Manager.

Thanks for any ideas,

Guido


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>