What's the best way, in C# to keep track of the number of events per timespan?
For example, I want to limit my TCP application to, say, a maximum of 10 requests per minute before setting a flag. The TCP application is intended to be as efficient as possible and runs as a windows service.
Maybe I should work on it tomorrow when my brain is less tired...
Thanks!