C# Dial up manager... RRS feed

  • Question

  • Hi,

    As part of the application I am working on, I would like to allow the application to dial up to the closest regional office. Our company has servers in every major city in the US so basically the only thing that I need to change is the phone number of the dial-up connection that the application is using.

    I have managed to connect/disconnect using an unmanaged c++ code that is based on WinINet(InternetDial, dll or using RASDial. The problem with RasDial is that it's not reliable (At least from my experience...) and the problem with the c++ function that I am using is that it doesn't let me specify the phone number...

    At this point, the only option that might be viable is to use RasDialDlg. Has anyone ever tried to use this function with c#? If yes, do you have any code samples or tips you can share with me?

    Thursday, January 18, 2007 2:50 AM


All replies