語言

PasswordAuthentication.GetPassword 方法

定義

回傳使用者密碼。

[Android.Runtime.Register("getPassword", "()[C", "")]
public char[]? GetPassword();
[<Android.Runtime.Register("getPassword", "()[C", "")>]
member this.GetPassword : unit -> char[]

傳回

Char[]

密碼

屬性

備註

回傳使用者密碼。

請注意,此方法會回傳密碼的參考。 撥號者有責任在不再需要密碼資訊後將其歸零。

Java 文件 java.net.PasswordAuthentication.getPassword()

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於