IkeSessionParams.HasIkeOption(Int32) Method
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.
Checks if the given IKE Session negotiation option is set
[Android.Runtime.Register("hasIkeOption", "(I)Z", "", ApiSince=31)]
public bool HasIkeOption(int ikeOption);
[<Android.Runtime.Register("hasIkeOption", "(I)Z", "", ApiSince=31)>]
member this.HasIkeOption : int -> bool
Parameters
- ikeOption
- Int32
The option to check, specified as an IkeSessionOption value converted to Int32.
Returns
true if the specified option is enabled in this configuration; otherwise, false. This does not indicate whether an extension was negotiated with the peer.
- Attributes
Exceptions
The option is invalid.
Remarks
Checks if the given IKE Session negotiation option is set
Java documentation for android.net.ipsec.ike.IkeSessionParams.hasIkeOption(int).
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.