PDP connection.

May 20, 2009 at 12:30 PM

Hello;

I am new using DotRas component. I ask u if it possible to create a simple PDP connection using DotRas ? ans how to do that.?

thinks....

Coordinator
May 20, 2009 at 12:38 PM
Edited May 20, 2009 at 12:40 PM

I'm not sure what PDP is, but if you can create a connection through Windows then DotRas should be able to handle it. Though I don't remember seeing anything about PDP when I was reading the SDK.

May 20, 2009 at 2:07 PM

thanks  jeff

 

 PDP is a MODEM connection. So how can I create a modem connection using DotRas.

 

 

Coordinator
May 21, 2009 at 4:57 AM

You just need to use the RasPhoneBook class, open which phone book you want to use, create a RasEntry instance, and add then it to the entries collection.

I'd suggest using the RasEntry.CreateDialUpEntry static method, but I don't know if it would apply to your situation. If you can't use the static method, you'll just have to create a new RasEntry instance and set everything manually. The easiest way to go about doing this is to create the entry in Windows and look at the entry in code. Then copy down the settings so you know what to set on the RasEntry object.

May 25, 2009 at 9:55 AM

Hi jeff.

 

thanks for your suggestions.

it's Ok I found how to use it.

it's very easy.