RasHangup

Top  Previous  Next

RasHangup

 

Hangs up the existing internet connection. You must have "dialup" configured in the program configuration, otherwise this function has no effect.

 

You can use the RasDial command to start a connection.

 

The Built-in function RasIsConnected can be used to determine if you are already connected to the internet.

 

Example:

RasDial
 
// Display a message and abort the script if no connection is available
if RasIsConnected="1" then goto check
MessageBox "No connection!"
AbortScript
 
label check
CheckFolder "Software"
RasHangup