Skip to content

Commit

Permalink
v10.10.2024.0902
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Sep 2, 2024
1 parent 1c95bd6 commit 0aa7e11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NewLife.Core/Extension/ProcessHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ public static String GetProcessName(this Process process)
return pname;
}

/// <summary>获取二级进程名</summary>
/// <param name="process"></param>
/// <returns></returns>
[Obsolete("=>GetProcessName", true)]
public static String GetProcessName2(this Process process) => GetProcessName(process);

///// <summary>根据名称获取进程。支持dotnet/java</summary>
///// <param name="name"></param>
///// <returns></returns>
Expand Down

0 comments on commit 0aa7e11

Please sign in to comment.