public static RAS_STATS GetStatisitcs(IntPtr hConn)
        {
            RAS_STATS status = new RAS_STATS();

            status.dwSize = (uint)Marshal.SizeOf <RAS_STATS>();

            Checked("RasGetConnectionStatistics", VpnNative.RasGetConnectionStatistics(hConn, ref status));
            return(status);
        }
 public static extern uint RasGetConnectionStatistics(IntPtr hRasConn, ref RAS_STATS lpStatistics);