xtremist xtremist - 2 months ago 77
C# Question

Create/Connect VPN connection through C#.Net

I have a URL, a username, and a password. I want to establish a VPN connection in C# .Net WinForms.

Can you please tell me from where I can get started? Any third party API's ?

Code samples will be highly appreciated...


You can launch external application like in this sample. This probably is easiest way to do it, but it depends on external applications.

Or you can try to use Windows API with some wrapper like DotRas. This could be a bit harder, but you won't have any dependancies on particular external apps.