Take a look to RASHangUp() Win32 API function. I think this is what you're looking for.
Vlad
>I have finally managed to create a program that allows me to establish a RAS connection from one server to another, but what I want to do know is to automatically disconnect from the RAS dial up network. The reason is that I work For The National Centre For Cosmetic Surgery in Birmingham and what I want to do is to connect to more of our branches/servers together so that we can automaticaly transfer information over from one branch to another but the problem I'm having that once the information has been transferred I want the program to disconnect the RAS connection automatically.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only