Exemplo n.º 1
0
        public LameFile(string fname, string fmt, uint depth, FileAttritue flag, IntPtr fhandle)
        {
            try
            {
                _full_name = fname;

                _fname      = Path.GetFileName(_full_name);
                _inner_path = _full_name.Substring(0, _full_name.Length - _fname.Length);

                _fmt   = fmt;
                _flag  = flag;
                _depth = depth;
                _file  = new ImmediateFile(fhandle);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemplo n.º 2
0
        public LameFile(string fname, string fmt, uint depth, FileAttritue flag, IntPtr fhandle)
        {
            try
            {
                FullFileName = fname;

                FileName  = Path.GetFileName(FullFileName);
                InnerPath = FullFileName.Substring(0, FullFileName.Length - FileName.Length);

                FileFormat   = fmt;
                FileAttritue = flag;
                Depth        = depth;
                File         = new ImmediateFile(fhandle);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }