Esempio n. 1
0
        public static EfsEntry NewFile(int idParent, FileInfo info)
        {
            var res = new EfsEntry();

            res.idParent = idParent;
            res.SetInfo(info);
            return(res);
        }
Esempio n. 2
0
        public static EfsEntry NewFolder(int idParent, DirectoryInfo info)
        {
            var res = new EfsEntry();

            res.idParent      = idParent;
            res.m_isDirectory = true;
            res.SetInfo(info);
            return(res);
        }