DotRas.RasEntryOptions.SecureFileAndPrint question.

Aug 19, 2010 at 6:19 PM
Am I correct in assuming that DotRas.RasEntryOptions.SecureFileAndPrint = true (the default setting in the the RasEntryOptions class constructor) means that users will *not* be able to use file and printer servers over the RAS connection while it is established?
Aug 20, 2010 at 1:28 AM

Yes, that option means you cannot use file and printer sharing over the connection. However I'm not sure where you're getting the idea that true is the default setting. The only place that DotRas sets that value to true is inside the CreateBroadbandEntry method, which was the default values Windows used when the method was created.

From the Windows SDK:
If this flag is set, remote users are prevented from using file and print services over the RAS connection. Setting this flag is equivalent to clearing the File and Print Sharing for Microsoft Networks check box in the connection properties dialog box.

The link where that information is found is:

Hope that helps.