ProxyConfig.SaveUserPass Method (String, String)

Mentalis.org Proxy

Mentalis.org Proxy Documentation

ProxyConfig.SaveUserPass Method (String, String)

Saves a username and password combination to the authentication list.

[Visual Basic]Overloads Public Sub SaveUserPass( _
   ByVal username As String, _
   ByVal password As String _
)
[C#]
public void SaveUserPass(
   string username,
   string password
);

Parameters

username
The username to add.
password
The password to add.

Remarks

If the user already exists in the collection, the old password will be changed to the new one.

The username 'users' is invalid because it is used internally to store the usernames.

Exceptions

Exception Type Condition
System.ArgumentNullException username is null -or- password is null.
System.ArgumentException The specified username is invalid.

See Also

ProxyConfig Class | ProxyConfig Members | Org.Mentalis.Proxy Namespace | ProxyConfig.SaveUserPass Overload List