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)); } }
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); } }