Anheledir
Anheledir

Reputation: 4387

How to check if there is any read/write activity for a specific harddrive with C#?

I'm curious how to assess if there is any read- or write-activity for a specific harddrive at a given moment with .NET / C#. Second it would be interesting to assess the actual speed of access.

Any ideas?

Upvotes: 1

Views: 235

Answers (1)

Tim Farley
Tim Farley

Reputation: 11950

Look into the Windows Management Instrumentation (WMI) APIs which are supported in the .NET Framework via the System.Management and System.Management.Instrumentation namespaces.

Upvotes: 2

Related Questions