Sauron
Sauron

Reputation: 16903

Get network utilization in c#

How can I get the network utilization using C# code?

Upvotes: 2

Views: 3040

Answers (2)

bashmohandes
bashmohandes

Reputation: 2376

You can calculate the network utilization from PerformanceCounters.

See How to Calculate Network Utilization in .NET

Upvotes: 1

Ben Griswold
Ben Griswold

Reputation: 18321

You can get some measurements using Windows Management Instrumentation (WMI) calls.

Here are a couple of tutorials:

Upvotes: 7

Related Questions