获取当前进程名

System.Diagnostics.Process.GetCurrentProcess().MainModule.ModuleName;

你可能感兴趣的:(c#,开发语言)