views:

203

answers:

2

Hi,

Does windows have performance counters to measure statistics of a dialup connection? Opening up Perfmon I can see that it has a performance counter called "Network Interfaces" which can be used to collect stats on a chosen network interface (mostly LAN cards) but I cannot see my dial up connection in the list here. How do I go about collecting stats like bytes sent/received, speed etc for my dial up connection (which is actually a high speed broadband connection!) What is the perfmon query string I need to use?

A: 

You should take a look at the IP helper API functions:

http://msdn.microsoft.com/en-us/library/aa366073%28VS.85%29.aspx

Robert
+1  A: 

Ok finally got a solution...the windows Dialup API is known as RAS for some reason. Windows vista has several performance counters for RAS services. You can get the required information by reading these counters. Refer "RAS total" and "RAS Port".

SDX2000