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

AssertIsMultiFile() private méthode

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

            return true;
        }