Connect to Internet - on Compact Framework.
Hi,
I'm accessing a couple of websites using:
WebRequest WReq = WebRequest.Create("https://www.parkmobile.com");
WebResponse WResp = WReq.GetResponse();
StreamReader sr = new StreamReader(WResp.GetResponseStream(), Encoding.ASCII);
But how do I actually connect to the Internet before this?
I'm currently porting my Pocket PC app from C++ to C#.
In C++ I used RasDial to connect and RasHangUp to disconnect.
How do I do it in C#?
Cheers, Neil.