I want to get the local ip:port and remote ip:port info of process by using VB.Net with oout any additional library. Any Ideas how I can do it? I am new in VB, sorry if question is dummy.
Asked
Active
Viewed 97 times
0
-
What do you mean with 'remote ip'? The ip address on the internet (before NAT etc.)? – Patrick Hofman Dec 23 '13 at 10:13
-
See http://stackoverflow.com/questions/1069103/how-to-get-my-own-ip-address-in-c – Patrick Hofman Dec 23 '13 at 10:14
-
Yes, The ip address on the internet – Ted Dec 23 '13 at 10:14
-
@Roman in the internet there is an incrdible amount of agents with different ip's. Which one you want to know? – Felice Pollano Dec 23 '13 at 11:39
-
At my computer are set of processes I what to know local ip:port and remote ip:port info of process which I select from this set. – Ted Dec 23 '13 at 12:06
-
A process as in a running application? It sounds like you're looking for IP End point data from a TCP connection. Does tihs help? http://msdn.microsoft.com/en-us/library/system.net.ipendpoint(v=vs.110).aspx – Brandon Dec 23 '13 at 15:03