WebView.SavePassword(String, String, String) 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.
Caution
deprecated
Sets a username and password pair for the specified host.
[Android.Runtime.Register("savePassword", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetSavePassword_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual void SavePassword (string? host, string? username, string? password);
[<Android.Runtime.Register("savePassword", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetSavePassword_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SavePassword : string * string * string -> unit
override this.SavePassword : string * string * string -> unit
Parameters
- host
- String
the host that required the credentials
- username
- String
the username for the given host
- password
- String
the password for the given host
- Attributes
Remarks
Sets a username and password pair for the specified host. This data is used by the WebView to autocomplete username and password fields in web forms. Note that this is unrelated to the credentials used for HTTP authentication.
This member is deprecated. Saving passwords in WebView will not be supported in future versions.
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.