3 Replies - 11127 Views - Last Post: 12 November 2012 - 03:11 PM Rate Topic: -----

#1 Damage   User is offline

  • Lord of Schwing
  • member icon

Reputation: 300
  • View blog
  • Posts: 1,989
  • Joined: 05-June 08

Real-time internet monitor

Posted 23 October 2008 - 02:13 AM

Is there a way to monitor your broadband usage in realtime(with dot net :P) Like How much cap I just used in the last say 20 minutes?
Is This A Good Question/Topic? 0
  • +

Replies To: Real-time internet monitor

#2 dbasnett   User is offline

  • D.I.C Addict
  • member icon

Reputation: 121
  • View blog
  • Posts: 666
  • Joined: 01-October 08

Re: Real-time internet monitor

Posted 23 October 2008 - 08:06 AM

		For Each networkCard As System.Net.NetworkInformation.NetworkInterface _
			In System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces
			Dim ipstats As System.Net.NetworkInformation.IPv4InterfaceStatistics = networkCard.GetIPv4Statistics
			'ipstats.BytesReceived
			'ipstats.BytesSent
			'ipstats.
		next
 

Was This Post Helpful? 0
  • +
  • -

#3 Damage   User is offline

  • Lord of Schwing
  • member icon

Reputation: 300
  • View blog
  • Posts: 1,989
  • Joined: 05-June 08

Re: Real-time internet monitor

Posted 23 October 2008 - 05:11 PM

wow, i didn't think there would be a way to seperate network traffic from internet. Thanks man :^:
Was This Post Helpful? 0
  • +
  • -

#4 DinoRondelly   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-November 12

Re: Real-time internet monitor

Posted 12 November 2012 - 03:11 PM

View Postdbasnett, on 23 October 2008 - 08:06 AM, said:

		For Each networkCard As System.Net.NetworkInformation.NetworkInterface _
			In System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces
			Dim ipstats As System.Net.NetworkInformation.IPv4InterfaceStatistics = networkCard.GetIPv4Statistics
			'ipstats.BytesReceived
			'ipstats.BytesSent
			'ipstats.
		next
 


Is there a way to do this on a per user basis ?

Like if there were 10 users logged on to a server and i wanted to monitor their traffic
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1