Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Network monitor like bitdefender?

is there a simple way to create this in .net?
[img]http://www1.pcmag.com/media/images/265688-bitdefender-total-security-2012-network-activity.jpg[/img]


thanks 🎉🎉
No, there is not a simple way......
another way can be to get some info with cmd
(Mar 12, 2014 12:13 PM)Only3 Wrote:  another way can be to get some info with cmd

Oh yeah, totally forgot about netstat. I think someone posted such thing here a long time ago..

EDIT: My other post got deleted?

Here is it again:




There is no simple way to recreate the program of the picture you posted. Although, there is a way to get (some) (established) connections.

You can use the System.Net.NetworkInformation namespace.It has a class named IPGlobalProperties.

IPGlobalProperties: http://msdn.microsoft.com/en-us/library/....110).aspx

But, in order to get a PID (ProccesID) from a connection, you would have to use some APIs:

GetExtendedTcpTable: http://msdn.microsoft.com/en-us/library/...s.85).aspx
GetExtendedUdpTable: http://msdn.microsoft.com/en-us/library/...s.85).aspx

Example in .NET: http://www.codeproject.com/Articles/1442...sing-the-G

But as packets have a Transport Layer (for example; TCP or UDP) you will have to 'get' them all.

Transport Layer: http://en.wikipedia.org/wiki/Transport_layer

The list there is just small, there are way more to explore!

If you just need TCP & UDP your are fine programming it in .NET, although if you want to monitor EVERYTHING you have to write a (n atleast, I think) a driver that monitors this, which will have to be written in a language like C++
FR1908


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by taktaktakJan 17, 2016 10:29 PM 26 1,028 Jan 17, 2016 10:29 PM
Last Post: Dangerous Beef
[.NET] by VmX5Nov 19, 2015 08:30 AM 10 1,651 Nov 19, 2015 08:30 AM
Last Post: aesad
[Shell] by b00st3dApr 12, 2015 09:22 PM 7 292 Apr 12, 2015 09:22 PM
Last Post: b00st3d