繁体   English   中英

在C#应用程序中,Windows在任务管理器中显示进程的名称时获取进程的名称?

[英]In a C# application, where does Windows grab the name of process when it appears in the Task Manager?

在Windows中打开任务管理器时,您会看到进程名称。

对于任何给定的c#应用程序,如何设置该名称?

应用程序名称是正在显示的表单的标题。

进程名称是可执行文件的名称。

该过程描述经由AssemblyTitle属性通常在AssemblyInfo.cs中发现控制:

[assembly: AssemblyTitle("Your process description here")].

对于任何给定的c#应用程序,如何设置该名称?

如果您使用的是Visual Studio,请转到项目属性并在“应用程序”选项卡上设置程序集名称。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM