DroidExplorer.Core.IO.FileInfo.Create C# (CSharp) Method

Create() public static method

public static Create ( System fi ) : FileInfo
fi System
return FileInfo
        public static FileInfo Create( System.IO.FileInfo fi )
        {
            FileInfo result = new FileInfo ( fi.Name, fi.Length, new Permission ( "rwx" ), new Permission ( "rwx" ), new Permission ( "rwx" ), fi.LastWriteTime, false, string.Format ( "/{0}", fi.Name ) );
            return result;
        }

Same methods

FileInfo::Create ( string name, long size, Permission userPermission, Permission groupPermission, Permission otherPermission, System.DateTime lastMod, bool isExec, string fullPath ) : FileInfo