private static bool ReloadFileSystem(string pw, PrivatePublicKeyHelper ppk) { Console.WriteLine("Reading FAT and loading files"); var ok = _sfsManager.ReadFileSystem(); if (ok) { ppk.PrivateKey = _sfsManager.LoadFileContent("PrivateKey").GetBufferAsUnicodeString(); ppk.PublicKey = _sfsManager.LoadFileContent("PublicKey").GetBufferAsUnicodeString(); } return(true); }
private static bool ReloadFileSystem() { Console.WriteLine("Reading FAT and loading files"); return(_sfsManager.ReadFileSystem()); }