Attempting to set L2tp Only VPN properties in C#
问题 I am attempting to create a console app to create a VPN connection for my company. I am able to create the VPN connection but unable to set a few of the properties. I want Unencrypted password (PAP) to be true and CHAP and CHAP2 to be false. But, the opposite is happening to those settings. I am using DotRas tools. What am i doing wrong or missing? string VpnName = "Test VPN"; string Destination = "127.0.0.1"; string PresharedKey = "testkey"; RasPhoneBook PhoneBook = new RasPhoneBook();