vpnProtocolIKEv2.sharedSecretReference = JFKeychain.searchCopy(matching: "VPN_PSK")
How to set the key code of shared key?
ipsec.SharedSecretReference =NSData.FromString("666888") ;
I don't know how to set it. IOS code doesn't translate.
Firstly you should translate JFKeychain class , convert the implementation from swift to C# .
Or create binding library with the class , make it available from xamarin project .
Xamarin forums are migrating to a new home on Microsoft Q&A!
We invite you to post new questions in the Xamarin forums’ new home on Microsoft Q&A!
For more information, please refer to this sticky post.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies