﻿using EpisodeInformer.Core.Torrent.Extended;
using System;

namespace EpisodeInformer.Core.Torrent
{
    public sealed class TorrentUtils
    {
        public static bool IsValidTorrentFile(string path)
        {
            bool flag;
            try
            {
                TorrentParser torrentParser = new TorrentParser(path);
                torrentParser = (TorrentParser)null;
                flag = true;
            }
            catch (Exception ex)
            {
                flag = false;
            }
            return flag;
        }
    }
}
