PasswordAuthentication(String, Char[]) Constructor
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.
Creates a new PasswordAuthentication
object from the given
user name and password.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;[C)V", "")]
public PasswordAuthentication (string? userName, char[]? password);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;[C)V", "")>]
new Java.Net.PasswordAuthentication : string * char[] -> Java.Net.PasswordAuthentication
Parameters
- userName
- String
the user name
- password
- Char[]
the user's password
- Attributes
Remarks
Creates a new PasswordAuthentication
object from the given user name and password.
Note that the given user password is cloned before it is stored in the new PasswordAuthentication
object.
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.