Saturday, May 22, 2010

Making Internet Connection using Auto Dial up Using .net C#?

Hi,





I want to create dialup network and/or auto connect to internet from within my application.





If there is not already created dial up network then i need to create new one. If there is no modem installed, make warnings.





I need to do all these on Visual Studio 2005/2003 desktop application using c#.











I have done so many R%26amp;D's on it, but unable to achieve what exactly i want.





I tried InternetDial method of wininet.dll to connect internet but It opens the default dial up dialog and i need to connect manually. But i want it to be connected automatically without clicking to connect within windows dial up.


I tried to use InternetAutoDial but it didn't get success.











I tried IO.Port class in VS 2005 and tried to pass AT commands, some response i got from modem but unable to connect.





Could you please tell me whether i m in right way or not?


I am i need proper sources of guide like books or your help or any sample code etc.





Thank you

Making Internet Connection using Auto Dial up Using .net C#?
In NET 2.0 in the System.IO.Ports is support for serial connections over modems.





You may be able to say something like





private SerialPort port = new SerialPort("COM2", 38400, Parity.None, 8, StopBits.One);





Look on MSDN forms for a sample.
Reply:hi mohan have to got solution for your query if so can you give some info on how to make a network dialer using .net2.0.It should have to run on windows vista also along with all other Windows OS. Report It

Reply:Hi Mohan,have to got solution for your query if so can you give some info on how to make a network dialer using .net2.0.It should have to run on windows vista also along with all other Windows OS. Report It



No comments:

Post a Comment