pinky Posted November 1, 2005 Posted November 1, 2005 Hey Anyone, I know that there are a number of free tools and utilities out there on the internet that can display the open ports on a system with the process ID's of the services using them. Does anyone know how to use VB.NET to acquire this information? I can't seem to find any information on the topic. I would have thought that the WMI class would have provided this functionality but it doesn't. Anyone have any ideas to help me out on this problem or at least point me in the right direction on where to acquire the info???? Thanks, :rolleyes: Pinky Quote
ZeroEffect Posted December 20, 2005 Posted December 20, 2005 Active ports by http://www.ntutility.com will show you all open ports, PID, UDP or TCP, IP Address & the EXE using the port. Great Program. Getting the info into VB sorry I am unable to help. ZeroEffect Quote If you can't find it, Build It. There is no place Like 127.0.0.1 also don't forget 1 + 1 = 10
Administrators PlausiblyDamp Posted December 21, 2005 Administrators Posted December 21, 2005 Can't think of an easy way of doing this through .Net - if you are any good with C then the following link does include some sample c source for doing this, will be a difficult job to convert all the declarations to .Net though. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.