@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Retrieves accumulated connection statistics for a connection !!!!C# Signature: [DllImport("rasapi32.dll", CharSet=CharSet.Auto, SetLastError=true)] static extern uint RasGetConnectionStatistics(IntPtr hRasConn, ref RAS_STATS lpStatistics); !!!!VB Signature: <DllImport("rasapi32.dll", CharSet:=CharSet:Auto)> _ Public Shared Function RasGetConnectionStatistics( _ ByVal hRasConn As IntPtr, _ ByRef lpStatistics As RAS_STATS) As UInt32 End Function !!!!User-Defined Types: [RAS_STATS]. !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: RAS_STATS statistics = new RAS_STATS(); statistics.dwSize = Marshal.SizeOf(statistics); uint retVal = RasGetConnectionStatistics(rasConnectionHandle, ref statistics); !!!!Alternative Managed API: http://www.codeplex.com/DotRas Documentation: RasGetConnectionStatistics@msdn on MSDN web
Edit rasapi32.RasGetCo...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.