Esempio n. 1
0
 public static void DeleteCurrentUserFromCache()
 {
     FileFolderHelper.CheckAndDeleteFile(FileFolderHelper.LastUserFilePath);
     FileFolderHelper.CheckAndDeleteFile(FileFolderHelper.StorageFilePath);
     Logger.Log($"\t{CurrentUser.ToString()} successfuly deleted from cach on this PC");
     CurrentUser = null;
 }
Esempio n. 2
0
 // delete serialized user from appdata folder
 // after SignOut
 public static void RemoveCurrentUserFromCache()
 {
     FileFolderHelper.CheckAndDeleteFile(FileFolderHelper.LastUserFilePath);
     Logger.Log($"\t{CurrentUser.ToString()} was removed from auto sign in");
     CurrentUser = null;
 }