Exemple #1
0
        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);
        }
Exemple #2
0
 private static bool ReloadFileSystem()
 {
     Console.WriteLine("Reading FAT and loading files");
     return(_sfsManager.ReadFileSystem());
 }