How to read command line arguments of another process in C#?

后端 未结 4 1027
南方客
南方客 2020-11-27 04:15

How can I obtain the command line arguments of another process?

Using static functions of the System.Diagnostics.Process class I can obtain a list of r

4条回答
  •  渐次进展
    2020-11-27 05:00

    Process.StartInfo returns a ProcessStartInfo object that allegedly but not necessarily has the arguments in the Arguments property.

提交回复
热议问题