public int EncryptAllFiles()
 {
     try
     {
         if (Param_PFD == null || !Directory.Exists(RootPath))
         {
             return(-1);
         }
         var x = Param_PFD.EncryptAllFiles(RootPath);
         if (x > 0)
         {
             if (Param_PFD.RebuilParamPFD(RootPath, false))
             {
                 return(x);
             }
         }
         return(-1);
     }
     catch
     {
         return(-1);
     }
 }
 public bool ReBuildChanges(bool encryptfiles)
 {
     return(Param_PFD.RebuilParamPFD(RootPath, encryptfiles));
 }
 public bool ReBuildChanges()
 {
     return(Param_PFD.RebuilParamPFD(RootPath, false));
 }