Got this question recently… answer is by simply using the System.Diagnostics namespace…
System.Diagnostics.Process.GetProcessesByName("ProcessName")[0].Id;
Cheers
C
The SharePoint Knowledge Collection of Cornelius J. van Dyk, an 9 x SharePoint MVP
The Microsoft Authentication Library (MSAL) is a powerful library designed to simplify the authentication process for applications that conn...
No comments:
Post a Comment
Comments are moderated only for the purpose of keeping pesky spammers at bay.