Esempio n. 1
0
        private string GetGuid(RarbgTorrent torrent)
        {
            var match = RegexGuid.Match(torrent.download);

            if (match.Success)
            {
                return(string.Format("rarbg-{0}", match.Groups[1].Value));
            }
            else
            {
                return(string.Format("rarbg-{0}", torrent.download));
            }
        }
Esempio n. 2
0
        private string GetGuid(RarbgTorrent torrent)
        {
            var match = RegexGuid.Match(torrent.download);

            if (match.Success)
            {
                return string.Format("rarbg-{0}", match.Groups[1].Value);
            }
            else
            {
                return string.Format("rarbg-{0}", torrent.download);
            }
        }