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