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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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".
回答2:
You should take a look at the IP helper API functions:
http://msdn.microsoft.com/en-us/library/aa366073%28VS.85%29.aspx