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

Ser*_*pia 4 .net c# windows

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

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

Geo*_*ton 7

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

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

该过程的描述是通过控制AssemblyTitle属性通常在发现的AssemblyInfo.cs:

[assembly: AssemblyTitle("Your process description here")].
Run Code Online (Sandbox Code Playgroud)