Concat(reads).Take(20) īy looking at another answer to a question you posted in NetworkInterface.GetIPv4Statistics().BytesReceived - What does it return? I believe the issue might be that you are using to small intervals. Var br = nic.GetIPv4Statistics().BytesReceived Var lastBr = nic.GetIPv4Statistics().BytesReceived Var nic = nics.Single(n => n.Name = "Local Area Connection") I like flindenberg's answer (don't change the accept), and I noticed that some polling periods would return "0" that aligns with his/her conclusions. Also, don't forget that any old process might be doing any old thing on the internet these days (without stricter firewall settings). Things to keep in mind are Kbps is in bits and HTTP data is often compressed so the "downloaded bytes" will be significantly smaller for highly compressible data. Here is a quick snippet of code from LINQPad.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |