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.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Anjan Bhowmik" <an******@gmail.comwrote in message
news:EC**********************************@microsof t.com...
>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?