Create hidden RAS connection

May 16, 2009 at 6:58 AM

Hi all

How can i  create a new RAS connection that doesn't appear in network connections window ? ( with 'Connect to > Show all connections' menu)

A solution is creating a pbk file in custom location, but RasPhonebook class has only a getter for the path.

thanks in advance,



May 16, 2009 at 1:01 PM

RasPhoneBook pbk = new RasPhoneBook();



The path property in the phone book is only used to retrieve the path property of the phone book because if it had set capabilities I'd need to make the class move files around on the machine which would make a big headache when you have file monitoring turned on.

In order to use the component, you always need to Open the phone book before using it as shown in all the examples, documentation, and video demo(s).