PasswordManagerLib/PasswordManagerCore.cs
/// <summary>
/// Edit record on specific index. If you enter empty string your record will not change
/// </summary>
/// <param name="index">Index of record</param>
/// <param name="newServer">New url</param>
/// <param name="newServiceName">New Service Name</param>
/// <param name="newUsername">New Username</param>
/// <param name="newPassword">New Password</param>
/// <returns>Return true if record is updated</returns>
Edit record on specific index. If you enter empty string your record will not change
Edit record on specific index . If you enter empty string your record will not change
public bool EditRecordOnIndex(int index, string newServer, string newServiceName, string newUsername, string newPassword)
        {
            if (IsLogged)
            {
                LoggedAccount.EditAccount(index, newServer, newServiceName, newUsername, newPassword);
                SaveAccounts();
                return true;
            }
            else throw new NotLoggedExeption("");
        }
public bool EditRecordOnIndex ( int index , string newServer , string newServiceName , string newUsername , string newPassword ) { if ( IsLogged ) { LoggedAccount . EditAccount ( index , newServer , newServiceName , newUsername , newPassword ) ; SaveAccounts ( ) ; return true ; } else throw new NotLoggedExeption ( " " ) ; }
Edit record on specific index.
Edit record on specific index .
Return true if record is updated
Return true if record is updated
index
int
Index of record
Index of record
newServer
string
None
newServiceName
string
New Service Name
New Service Name
newUsername
string
None
newPassword
string
None