pichSoft
pichSoft

Reputation: 29

Vpn client in xamarin

I want to create a vpn application such as "Touch VPN" or "Hi VPN'

How to use xamarin to connect to vpn server using .open files in the background?

There are several example source codes in Java But I never found any source code in xamarin c#

How can I use c# for that purpose?

Upvotes: 2

Views: 4411

Answers (2)

Trudy Hood
Trudy Hood

Reputation: 11

It depends on which protocol you need. But if you need a custom protocol or want to develop your own protocol in .NET using Xamarin, you can see our VpnHood project, a component base VPN via NuGet packages. It is in C# and uses Xamarin to develop the client for Android.

https://github.com/vpnhood/VpnHood

Upvotes: 1

Leon Lu
Leon Lu

Reputation: 9234

Please see example Xamarin.Android VPN service demo: https://github.com/luqmanhussain/XamarinAndroidVPNExample

Accodring to your several examples, you can convert java to C# code as well. There are some tips when you want to do that. https://learn.microsoft.com/en-us/xamarin/android/get-started/java-developers

Upvotes: 1

Related Questions