[DllImport("rasapi32.dll", CharSet=CharSet.Auto, SetLastError=true)]
static extern uint RasGetConnectionStatistics(IntPtr hRasConn, ref RAS_STATS lpStatistics);
Declare Shared Function RasGetConnectionStatistics Lib "rasapi32.dll" (ByVal hRasConn As IntPtr, ByRef lpStatistics As RAS_STATS) As UInt32
None.
Please add some!
RAS_STATS statistics = new RAS_STATS();
statistics.dwSize = Marshal.SizeOf(statistics);
uint retVal = RasGetConnectionStatistics(rasConnectionHandle, ref statistics);
Do you know one? Please contribute it!