Using C# what is the most reliable way to calculate network bandwidth speed?
I've found a few examples using NetworkInterface
, Performance Counters, native Win32 code, etc. but they all provide different results and none seem to match what other, already existing, tools are showing.
Any advice on the most reliable method to calculate network bandwidth speed in C#?
Edit: To clarify I'm looking to know how much bandwidth a specific interface is currently consuming.