Setting "Negotiate multi-link for single-link connections" in RasEntry

Nov 20, 2012 at 10:57 PM

Well the subject said it all.

I'm creating a phonebook entry, and everything goes smoothly, only i can't figure how to set that flag.

And that's the only thing that's different from my connection that works.

Using win7 with win2k libs.

Nov 21, 2012 at 1:59 AM

Looks like it's the entry options DoNotNegotiateMultilink property that sets that value. Which, you'll need to bump up to the WINXP flavor to gain access to it. That also implies you'll only support Windows XP and later for your application. 

using DotRas;

using (RasPhoneBook pbk = new RasPhoneBook())
    RasEntry entry = pbk.Entries["My Entry"];
    entry.Options.DoNotNegotiateMultilink = false; // Sets the checkbox.
    entry.Options.DoNotNegotiateMultilink = true; // Clears the checkbox.

For future reference, I've gone through the SDK and have identified which checkbox maps to which property in the remarks section of the property. Doing a search in the help documentation for the checkbox text should help you locate most of them quite easily.

- Jeff

Nov 21, 2012 at 9:52 AM

Thank you for the answer, dug through the documentation and now i see it, missed it the first time. I'll blame the 1AM sleepyness :) Thank you for the answer.

Nov 21, 2012 at 1:13 PM

We all have those nights sooner or later, glad I could help!

- Jeff