共用方式為


Ikev2VpnProfile.GetPresharedKey 方法

定義

擷取預先共用金鑰。

[Android.Runtime.Register("getPresharedKey", "()[B", "", ApiSince=30)]
public byte[]? GetPresharedKey ();
[<Android.Runtime.Register("getPresharedKey", "()[B", "", ApiSince=30)>]
member this.GetPresharedKey : unit -> byte[]

傳回

Byte[]
屬性

備註

擷取預先共用金鑰。

如果配置檔未使用預先共用密鑰驗證,或從 IkeTunnelConnectionParams建置配置檔,可能是 null。

android.net.Ikev2VpnProfile.getPresharedKey()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於