コード例 #1
0
ファイル: DataBlock.cs プロジェクト: jhdscript/Par2NET
        // Open the file associated with the data block if is not already open
        internal bool Open()
        {
            if (diskfile == null)
            {
                return(false);
            }

            if (diskfile.IsOpen())
            {
                return(true);
            }

            return(diskfile.Open());
        }