Ikev2VpnProfile.GetPresharedKey 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.
Retrieves the pre-shared key.
[Android.Runtime.Register("getPresharedKey", "()[B", "", ApiSince=30)]
public byte[]? GetPresharedKey ();
[<Android.Runtime.Register("getPresharedKey", "()[B", "", ApiSince=30)>]
member this.GetPresharedKey : unit -> byte[]
Returns
- Attributes
Remarks
Retrieves the pre-shared key.
May be null if the profile is not using Pre-shared key authentication, or the profile is built from an IkeTunnelConnectionParams
.
Java documentation for android.net.Ikev2VpnProfile.getPresharedKey()
.
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.