BEncodeLib.TorrentFile.AssertIsSingleFile C# (CSharp) Méthode

AssertIsSingleFile() private méthode

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

            return true;
        }