process id!
-
hello! hope you all are doing fine! i was just wondering if there is any way to get the process id of an application, from within an application! like i want to know what PID is assigned to the application when it is executed! if the application is executed multiple times, each instance displays its own PID! any solution for that?? Thanx in advance!:)! Adeel --
-
hello! hope you all are doing fine! i was just wondering if there is any way to get the process id of an application, from within an application! like i want to know what PID is assigned to the application when it is executed! if the application is executed multiple times, each instance displays its own PID! any solution for that?? Thanx in advance!:)! Adeel --
System.Diagnostics.Process.GetCurrentProcess().Id will return to you the PID of your application instance