I am trying to connect VPN Server using OpenVPN Community from my Desktop Application Developed in C#. The code was working fine and suddenly I am getting below error when connection is established.
Screenshot is attached,
Here is the code that was working earlier but not now.
string OpenVpnLocation = [login to view URL] ? @"C:\Program Files\OpenVPN\bin\[login to view URL]" : @"C:\Program Files\OpenVPN\bin\[login to view URL]";
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo
//WindowStyle = [login to view URL],
FileName = OpenVpnLocation,
Arguments = "--config [login to view URL] --auth-user-pass [login to view URL]",
Verb = "runas"
[login to view URL] = startInfo;
[login to view URL]();
As per the error logs I understood that, route is already created and from this code it is creating another route, which throws an error, if so, then is there any way to handle it from C# code?
Thanks in advance!
3 freelancer chào giá trung bình₹11333 cho công việc này
I can solve your issue. Please give me a chance to work with you in this project. I have experienced in working with desktop applications as well.