internal void loadTorrentFileInfo(string torrentFilePath)
{
try
{
currentTorrentFile = new Torrent(torrentFilePath);
torrentFile.Text = torrentFilePath;
trackerAddress.Text = currentTorrentFile.Announce;
shaHash.Text = ToHexString(currentTorrentFile.InfoHash);
// text.Text = currentTorrentFile.totalLength.ToString();
txtTorrentSize.Text = FormatFileSize((currentTorrentFile.totalLength));
}
catch (Exception ex)
{
AddLogLine(ex.ToString());
}
}