How do i query the dial up connections present in the system & use any of them to dial and connect t

  • Thread starter Thread starter Anjan Bhowmik
  • Start date Start date
A

Anjan Bhowmik

I want to query the dial up connections present in the system, which will
host my application.

My user want to connect automatically to the internet if the dialup
connection was hanged.

Ho do i do that?
 
Anjan,

If you are going to connect through a dial-up connection, your best bet
would be to call the InternetAutodial in the WinInet API. You will have to
do this through the P/Invoke layer, of course and you can find a definition
at http://www.pinvoke.net.

If you need greater access to dial up functionality, then you will want
to look at the RAS API.
 
Hi,

If you need to use RAS you will have to P/invoke the RAS API (not an easy
task).
If you want to dial the default connection then go to IE and set up a
default connection, then in your code just se WebReqest and it will dial the
default connection.

IF nevertheless you need to use RAS postback cause I have the code you will
need :)
 
I am inteseted in RAS, as my client is not very familier with IE connection
settings. So, can you provide me the code? you may send it to
(e-mail address removed)

Thnx very much
 
I am inteseted in RAS, as my client is not very familier with IE connection
settings. So, can you provide me the code? you may send it to
(e-mail address removed)

Thnx very much
 
Back
Top