Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[VB.NET]Active connections

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
KaMeR
How do I cheat?
Reputation: 0

Joined: 11 Aug 2009
Posts: 6

PostPosted: Mon Jun 13, 2011 8:08 am    Post subject: [VB.NET]Active connections Reply with quote

i want to get active connections and from which executable it comes is it possible?

here is the code i got, its working but shows only IPs and PORTs.

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim IPGproperties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
        Dim connections As TcpConnectionInformation() = IPGproperties.GetActiveTcpConnections()

        For Each tcp As TcpConnectionInformation In connections
            Dim it As New ListViewItem
            it = ListView1.Items.Add(tcp.LocalEndPoint.Address.ToString() + ":" + tcp.LocalEndPoint.Port.ToString())
            it.SubItems.Add(tcp.RemoteEndPoint.Address.ToString() + ":" + tcp.RemoteEndPoint.Port.ToString())
        Next
    End Sub
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites