|
-
March 6th, 2010, 09:11 PM
#1
Network Connection
Hi,
I am writing a simple Intrusion Detection System..I need to know these properties of a connection
Source IP address
Destination IP address
Source Port Number
Destination Port
Number
Duration
State 1~20 11 The connection isterminated by the originator, for internal use
Protocol
1~9 2 The protocol for this connection is TCP
Number of Bytes Sent
by Originator
Number of Bytes sent
by Responder
can some one point me to a class in .NET for getting this properties.
thanks
-
March 7th, 2010, 03:19 AM
#2
Re: Network Connection
Try this: http://msdn.microsoft.com/en-us/libr...20(VS.85).aspx
or try to find some other class with the MSDN lib
-
March 7th, 2010, 06:31 PM
#3
Re: Network Connection
Hi,
I tried NetworkTCPInformation but it just gives source IP and destination Port but I neeed for example duration of connection and the amount of byte sent received
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|