This project is read-only.

Is it possible to monitor the network traffic sent/received using Dotras?

Jul 21, 2013 at 4:42 AM
I have already come up with a PPPoE Dialier using DotRas. I am using it to connect to Internet via a broadband connection. I would like to know if there is any possibility to monitor internet traffic, bytes sent and received.
Jul 21, 2013 at 4:57 PM
The only thing it can tell you is the number of bytes sent and received, as for monitoring actual traffic (data transmitted and received), no it cannot.
Jul 25, 2013 at 7:00 PM
In that case, how do I get the number of bytes sent and received? Which sub should I call?
Jul 27, 2013 at 4:10 AM
Check the GetProjectionInfo method on the RasConnection class, it exposes it there. For an example how to use it, see the GetActiveConnectionIPAddress example included in the SDK.