BEncodeLib.TorrentFile.AssertIsSingleFile C# (CSharp) Method

AssertIsSingleFile() private method

private AssertIsSingleFile ( ) : bool
return bool
        private bool AssertIsSingleFile()
        {
            if (IsMultiFile)
                throw new InvalidOperationException("Not available on torrents with multiple files.");

            return true;
        }