Visual Studio Development Bookmark and Share   
 index > Visual Basic Express Edition > How to check wether the network is idle or not
 

How to check wether the network is idle or not

hi guys...
i wanna know a way of chking wether the computer network is idle or in use ...

i found a way of checking the availability of the network using
My.Computer.Network.IsAvailable
but i dont see any way of checking the network usage..

i hope u get me... its like those download managers which dowload files only when the network is idle.. like dat...

if u hv a way plz lemme know...

-- thnx in advance...
theres nothing better than prime nos...!!
kool_Pragy  Thursday, October 15, 2009 7:17 AM
Hi again,

It was worth a shot....

I knew of a networking API that might of helped but I couldn't remember what it was called, it's written down somewhere but I think I've found it and I think it is called Network Monitor 3. Yeah thats it NetMon.

http://blogs.technet.com/netmon/archive/2009/10/12/network-monitor-videos-on-channel-9.aspx

This will do the trick. Monitor network traffic until it's less than so much a second, idle.
  • Marked As Answer bykool_Pragy Saturday, October 17, 2009 7:46 AM
  •  
Derek Smyth  Friday, October 16, 2009 5:38 PM
hi guys...
i wanna know a way of chking wether the computer network is idle or in use ...

i found a way of checking the availability of the network using
My.Computer.Network.IsAvailable

but i dont see any way of checking the network usage..

i hope u get me... its like those download managers which dowload files only when the network is idle.. like dat...

if u hv a way plz lemme know...

-- thnx in advance...
theres nothing better than prime nos...!!

can you click here please:

http://social.msdn.microsoft.com/Search/en-US?query=network%20is%20idle%20or%20not&ac=8
Don't judge me, just Upgrade me. Thanks!
Malange  Thursday, October 15, 2009 9:12 PM
hi guys...
i wanna know a way of chking wether the computer network is idle or in use ...

i found a way of checking the availability of the network using
My
.Computer.Network.IsAvailable

but i dont see any way of checking the network usage..

i hope u get me... its like those download managers which dowload files only when the network is idle.. like dat...

if u hv a way plz lemme know...

-- thnx in advance...
theres nothing better than prime nos...!!

can you click here please:

http://social.msdn.microsoft.com/Search/en-US?query=network%20is%20idle%20or%20not&ac=8
Don't judge me, just Upgrade me. Thanks!
so......? thats the search result for my question... n i find no satisfactory info there....
n ofcourse i had searched a lot be4 asking this question...

theres nothing better than prime nos...!!
kool_Pragy  Friday, October 16, 2009 5:07 AM
Hi,

I don't have an absolute answer for you but I saw your question a couple of days ago and wondered how it's possible. What I was thinking was maybe Performance Counters could be used, if you look into the tool perfmon.exe then you'll see there are some network counters you could watch. The task manager could be using these counters to report network usage. You could try that....

WMI could be used as well maybe, you could look into that.


Sorry for all the IF's and MAYBE's but hopefully it's a pointer in the right direction.
Derek Smyth  Friday, October 16, 2009 7:37 AM
Hi,

I don't have an absolute answer for you but I saw your question a couple of days ago and wondered how it's possible. What I was thinking was maybe Performance Counters could be used, if you look into the tool perfmon.exe then you'll see there are some network counters you could watch. The task manager could be using these counters to report network usage. You could try that....

WMI could be used as well maybe, you could look into that.


Sorry for all the IF's and MAYBE's but hopefully it's a pointer in the right direction.

hmm... lemme try...

theres nothing better than prime nos...!!
kool_Pragy  Friday, October 16, 2009 9:58 AM
Hi,

I don't have an absolute answer for you but I saw your question a couple of days ago and wondered how it's possible. What I was thinking was maybe Performance Counters could be used, if you look into the tool perfmon.exe then you'll see there are some network counters you could watch. The task manager could be using these counters to report network usage. You could try that....

WMI could be used as well maybe, you could look into that.


Sorry for all the IF's and MAYBE's but hopefully it's a pointer in the right direction.

hmm... lemme try...

theres nothing better than prime nos...!!
hmm... buddy.. d prob is that chk the network state using that util makes my app too slow... i am not getting the info in the required format n atering info to suite my app is making the process time consuming :-(

could u plz recommend some better way...

theres nothing better than prime nos...!!
kool_Pragy  Friday, October 16, 2009 4:28 PM
Hi again,

It was worth a shot....

I knew of a networking API that might of helped but I couldn't remember what it was called, it's written down somewhere but I think I've found it and I think it is called Network Monitor 3. Yeah thats it NetMon.

http://blogs.technet.com/netmon/archive/2009/10/12/network-monitor-videos-on-channel-9.aspx

This will do the trick. Monitor network traffic until it's less than so much a second, idle.
  • Marked As Answer bykool_Pragy Saturday, October 17, 2009 7:46 AM
  •  
Derek Smyth  Friday, October 16, 2009 5:38 PM
Hi again,

It was worth a shot....

I knew of a networking API that might of helped but I couldn't remember what it was called, it's written down somewhere but I think I've found it and I think it is called Network Monitor 3. Yeah thats it NetMon.

http://blogs.technet.com/netmon/archive/2009/10/12/network-monitor-videos-on-channel-9.aspx

This will do the trick. Monitor network traffic until it's less than so much a second, idle.
wow.... gee thnx man... this is wat i wanted... thnx a lot... :-D

theres nothing better than prime nos...!!
kool_Pragy  Saturday, October 17, 2009 7:46 AM

You can use google to search for other answers

Custom Search

More Threads

• Regular Expression output to textbox
• Added to my last post how can i be sure that my login form is secured from hackers?
• StretchImage problem
• is it possible to rotate a button ?
• can't get 2 projects in one solution working
• Direct Play 8 Question
• VBE 05 and 08
• Platform of a Windows Form Application.
• Downloading a file
• Export to Excel Question