问题
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?
回答1:
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://docs.microsoft.com/en-us/xamarin/android/get-started/java-developers
来源:https://stackoverflow.com/questions/56863899/vpn-client-in-xamarin