Help me to connect OpenVPN Community for VPN Server using C#

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!

Taidot: C# -ohjelmointi, Tietojärjestelmäarkkitehtuuri, OpenVPN, Windows Desktop, .NET

Näytä lisää: creating vpn server using pptp, openvpn multiclient vpn server, openvpn ubuntu vpn server, ipsec vpn server using fedora, vps openvpn autostarting vpn server fail, import data from excel to mysql server using c# windows application, connect excel to sql server using odbc, database connection with sql server using c#, import data from csv to sql server using c# in asp net, how to insert json data into sql server using c#, import data from excel to sql server using c# in asp. net, import data from excel to sql server using c# windows application, how to upload file to web server using c# windows form, how to save pdf file in sql server using c# windows application, how to store json data in sql server using c#, import data from excel to sql server using c# console application, fetch and read emails from pop3 mail server using c#, how to read email and download attachments from mapi mail server using c#, connect to exchange server using c#, openvpn connect waiting for vpn server

Tietoa työnantajasta:
( 0 arvostelua ) Ahmedabad, India

Projektin tunnus: #32270722

3 freelanceria on tarjonnut keskimäärin ₹11333 tähän työhön


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 Lisää

₹12500 INR 7 päivässä
(7 arvostelua)

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.

₹10500 INR 5 päivässä
(0 arvostelua)

i'm a senior developer c# and i have experience in this subject . i can do it very well this project in short time

₹11000 INR 7 päivässä
(0 arvostelua)