justjohnny
New member
- Joined
- Nov 9, 2004
- Messages
- 1
- Programming Experience
- 1-3
I'm trying to code a utility which will show the .exe name for any given open port. For instance, if I ask which program or process is using an open ip port, the utility would return the name of the executable or component that's associated with the open port. I want to use IP Helper (iphlpapi.lib) to do this.
MSDN's reference for IP Helper lists a function called "GetOwnerModuleFromTcp6Entry" which is supposed to do this. My problem is that I can't get this function to work in VB.Net. I just don't get it.
Does anyone know how I can implement this in VB.Net? Is there a tutorial out there that explains this in terms of Visual Basic?
MSDN's reference for IP Helper lists a function called "GetOwnerModuleFromTcp6Entry" which is supposed to do this. My problem is that I can't get this function to work in VB.Net. I just don't get it.
Does anyone know how I can implement this in VB.Net? Is there a tutorial out there that explains this in terms of Visual Basic?