Ejemplo 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;
 }
Ejemplo 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;
 }