public bool UpdateLastSessionArgs(Profile profile, string args) { LoginData data = GetCredentials(profile); if (data != null) { data.LastSessionArgs = args; } return data != null; }