Sample of how to implement a hardware monitor with the help of the Task Parallel Library of .NET 4.0