Hi all.
Hope that everybody is fine here.
I am writing a windows service in C#/VB.Net that aims at measuring bandwidth consumption for all WebSites on localhost and store their statistics for upload , download etc on local/remote database.
Target Platforms include only Windows Server 2003, 2003 R2, 2008 and 2008 R2.
I have searched a bit on this thing and found the following:
- Using SNMP mgmtapi.dll which is found in Windows 2003
- Using a custom Network Driver to collect statistics.
Please guide on the most appropriate ,secure and effective methodology/technique or set of such techniques which can be used to measure the bandwidth consumption for each different website.
Please also share any code in this regard.
Regards
Steve