I am working on a project where I have to find the process id . I know local address , protocol , foreign address and state. I don't know process name.
I don't want to use netstat -ano or any other third party software.
Is there any way to do that in C# using any library ?