RasHangUp (rasapi32)
Last changed: -81.12.169.74

.
Summary
The RasHangUp function terminates a remote access connection. The connection is specified with a RAS connection handle. The function releases all RASAPI32.DLL resources associated with the handle

C# Signature:

[DllImport("rasapi32.dll", SetLastError=true)]
static extern uint RasHangUp(IntPtr hRasConn);

VB Signature:

<DllImport("rasapi32.dll", CharSet:=CharSet:=Auto)> _
Public Shared Function RasHangUp(ByVal hRasConn As IntPtr) As UInt32
End Function

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

http://www.codeplex.com/DotRas

Documentation
RasHangUp on MSDN