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 freelances font une offre moyenne de 11333 ₹ pour ce travail
Hi, I am Anas. With over 8 years of professional experience in creating Desktop applications and web/mobile applications, I believe I bring ample experience to the table with skills such as C#, .Net Core, APIs etc. I Plus
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.
i'm a senior developer c# and i have experience in this subject . i can do it very well this project in short time