But i need to do it, in MY program, i have a program, which can do it. All i have to do is double clicking it. then it will connect using an unknow user/pass, I want to write a program like that, using c#, not more.,
If you use C# to connect to the internet, shouldn't OS prompt user to verify the connection automatically (just a guess, I haven't been using modems since year -97) Well, at least you shold ask the user first, othervise your program is considered as a dialer and soon blocked by malware scanners allaround the globe...
Well, as noted, it could be classed malwhare, but if you need it you need it i guess.
There's a nice program included with windows called "rasphone", if you run it in a command window it'll give you an option to dial any connection that's on the system.
There's another called, rasdial, which basically does the same sans-gui, both programs have the / command-line switch, give it a try and it'll show you how to use them.
Running either of these using the Process Class should work great, and give you feedback!
Ok, simple way is to use rasphone and rasdial, the not-so-simple way is to figure out the RAS API (Remote Access Service), since this is how Windows connects to the internet
Can't tell you much more, because i don't know any more myself, sorry!
How to connect to internet using dialup
bialguos
Thanks for both answers,
But i need to do it, in MY program, i have a program, which can do it. All i have to do is double clicking it. then it will connect using an unknow user/pass, I want to write a program like that, using c#, not more.,
thanx again.
Chee Kiang
mdunham
Desprate Me
Hi
Well, as noted, it could be classed malwhare, but if you need it you need it i guess.
There's a nice program included with windows called "rasphone", if you run it in a command window it'll give you an option to dial any connection that's on the system.
There's another called, rasdial, which basically does the same sans-gui, both programs have the / command-line switch, give it a try and it'll show you how to use them.
Running either of these using the Process Class should work great, and give you feedback!
Hope this helps
Thomas Horan
Ok, simple way is to use rasphone and rasdial, the not-so-simple way is to figure out the RAS API (Remote Access Service), since this is how Windows connects to the internet
Can't tell you much more, because i don't know any more myself, sorry!