I have a network program setup that does a lot of what nestat does. I am currently working on netstat -o. This command will give me the PID of the program using this socket. I have an idea of ββwhere to look. I am trying to use WMI to get this information, but so far I have not found a suitable class.
How to find the PID or name of an application that uses a specific socket?
I am using c #
source
share