Nov 15, 2016 at 2:41 PM
Edited Nov 15, 2016 at 2:57 PM
i try to update the vpn credentials.
i try it with :
RasPhoneBook phoneBook = new RasPhoneBook();
RasEntryCollection rasEC = phoneBook.Entries;
entry.UpdateCredentials(new System.Net.NetworkCredential(UserName, Password), true);
If i create a new connetcion without credentials, my code is working. But when i try to update the credentials from a existing vpn connection the password will not be updated.