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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement