Cannot find the CreateBroadbandEntry method

Aug 24, 2012 at 9:16 AM

hi, 

I want to create a new PPPoE Dialer using DotRAS in WinXp and Win7. I have test your examples of VPN, and i tried to change the method of  examples using CreateBroadbandEntry. But I cannot found it in IntelliSense. 

 

Pls help... waiting on line..

Coordinator
Aug 24, 2012 at 2:22 PM

You need to make sure you're using the WINXP or later build flavor to have that method available. Broadband entries were not introduced in Windows until XP.

Oct 1, 2012 at 3:08 PM

Hi,

 

I have the same problem

I tried the following code I found on the site but it complains about the RasDeviceType.PPPoE and RasEntry.CreateBroadbandEntry. I can create any other type of connection.

I am Running Win7 and use Visual C# express 2010 and downloaded the newest dotras from the site.

var device = RasDevice.GetDevices().Where(o => o.DeviceType == RasDeviceType.PPPoE).First();
            RasEntry entry = RasEntry.CreateBroadbandEntry("My PPPoE Entry", device);
            entry.PhoneNumber = "Test Service";

Thanks :-)

Coordinator
Oct 2, 2012 at 10:37 PM

As indicated in my previous post, you need to use the WINXP or later build flavor.