Ikev2VpnProfile.Builder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Ikev2VpnProfile.Builder(IkeTunnelConnectionParams) | |
Ikev2VpnProfile.Builder(String, String) |
Creates a new builder with the basic parameters of an IKEv2/IPsec VPN. |
Ikev2VpnProfile.Builder(IkeTunnelConnectionParams)
[Android.Runtime.Register(".ctor", "(Landroid/net/ipsec/ike/IkeTunnelConnectionParams;)V", "", ApiSince=33)]
public Builder (Android.Net.IpSec.Ike.IkeTunnelConnectionParams ikeTunConnParams);
[<Android.Runtime.Register(".ctor", "(Landroid/net/ipsec/ike/IkeTunnelConnectionParams;)V", "", ApiSince=33)>]
new Android.Net.Ikev2VpnProfile.Builder : Android.Net.IpSec.Ike.IkeTunnelConnectionParams -> Android.Net.Ikev2VpnProfile.Builder
Parameters
- ikeTunConnParams
- IkeTunnelConnectionParams
- Attributes
Applies to
Ikev2VpnProfile.Builder(String, String)
Creates a new builder with the basic parameters of an IKEv2/IPsec VPN.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=30)]
public Builder (string serverAddr, string identity);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=30)>]
new Android.Net.Ikev2VpnProfile.Builder : string * string -> Android.Net.Ikev2VpnProfile.Builder
Parameters
- serverAddr
- String
the server that the VPN should connect to
- identity
- String
the identity string to be used for IKEv2 authentication
- Attributes
Remarks
Creates a new builder with the basic parameters of an IKEv2/IPsec VPN.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.