BEncodeLib.TorrentFile.AssertIsMultiFile C# (CSharp) Method

AssertIsMultiFile() private method

private AssertIsMultiFile ( ) : bool
return bool
        private bool AssertIsMultiFile()
        {
            if (!IsMultiFile)
                throw new InvalidOperationException("Not available on torrents with a single file.");

            return true;
        }