i have check IPv4InterfaceStatistics Class of C# and its seems it display all Information of your Network, from bandwidth download / upload, Packet Sent / Rcvd, and Speed of your LAN,
Upon checking the properties, i have found out that all of the properties are GET only.
Is there a way for us to set / limit the bandwidth of download / upload?
thanks in advance.
PS : I need to create an application that will limit the bandwidth of a PC. Th开发者_开发技巧anks
To do that you will need to create a driver, which is not possible to do in C# (or any other managed language). So at least part of your application will need to be written in C or C++.
Maybe TcpDump
will solve you're issue ,learn how to use it than maybe you can control it from C# as a process ,if Tcpdump can't do that ,that give a try with Wireshark i think Wireshark can be implemented within C#
精彩评论