Example #1
0
 public static void ClearMegaLoginData()
 {
     SettingsService.DeleteSetting(SettingsResources.RememberMe);
     SettingsService.DeleteSetting(SettingsResources.UserMegaEmailAddress);
     SettingsService.DeleteSetting(SettingsResources.UserMegaSession);
 }
Example #2
0
 public static void SaveMegaLoginData(string email, string session)
 {
     SettingsService.SaveSetting(SettingsResources.RememberMe, true);
     SettingsService.SaveSetting(SettingsResources.UserMegaEmailAddress, email);
     SettingsService.SaveSetting(SettingsResources.UserMegaSession, session);
 }