PasswordAuthentication.GetPassword 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回用户密码。
[Android.Runtime.Register("getPassword", "()[C", "")]
public char[]? GetPassword();
[<Android.Runtime.Register("getPassword", "()[C", "")>]
member this.GetPassword : unit -> char[]
返回
Char[]
密码
- 特性
注解
返回用户密码。
请注意,此方法返回对密码的引用。 在不再需要密码信息后,调用方有责任将密码信息归零。
Java文档java.net.PasswordAuthentication.getPassword()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。