Щас бы декомпил компилить.
[SRC="csharp"] private void 섍([In] object obj0, [In] AsyncCompletedEventArgs obj1)
{
if (obj1.Error != null)
{
셥.섍.Warn(string.Format(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣섬(), (object) obj1.Error.Message, (object) obj1.Error.StackTrace), new object[0]);
int num = (int) MessageBox.Show(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣섈() + string.Format(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣샾(), (object) obj1.Error.Message), F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.셄(), MessageBoxButton.OK, MessageBoxImage.Hand, MessageBoxResult.OK, MessageBoxOptions.DefaultDesktopOnly);
Environment.Exit(0);
}
Tuple<string, string> userState = (Tuple<string, string>) obj1.UserState;
if (!System.IO.File.Exists(userState.Item2) || obj1.Cancelled)
{
셥.섍.Warn(string.Format(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣셣(), (object) userState.Item2, obj1.Cancelled ? (object) F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣셔() : (object) F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣셋()), new object[0]);
int num = (int) MessageBox.Show(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣셁() + string.Format(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣섆(), (object) userState.Item2), F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.셄(), MessageBoxButton.OK, MessageBoxImage.Hand, MessageBoxResult.OK, MessageBoxOptions.DefaultDesktopOnly);
}
if (this.섍.add_torrent(userState.Item2, Directory.GetParent(userState.Item1).FullName, Path.GetFileName(userState.Item1), DownloadConfig.Default.MaxDownloadSpeed, DownloadConfig.Default.MaxUploadSpeed))
{
Task.Factory.StartNew((Action) (() =>
{
while (this.섍
{
Thread.Sleep(500);
if (this.섍 == null)
break;
string errorMessage;
bool flag = this.섍.check_status(out errorMessage);
if (!string.IsNullOrEmpty(errorMessage))
{
int num = (int) MessageBox.Show(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣셌() + string.Format(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.셒(), (object) errorMessage), F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.셄(), MessageBoxButton.OK, MessageBoxImage.Hand, MessageBoxResult.OK, MessageBoxOptions.DefaultDesktopOnly);
}
if (!flag && this.섍
this.셢((object) this, new DownloadEventArgs()
{
Progress = 101.0
});
}
}));
}
else
{
셥.섍.Warn(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣셮(), new object[0]);
int num = (int) MessageBox.Show(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣섚() + string.Format(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣셂(), (object) DownloadConfig.Default.ConnectionPort) + string.Format(F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.섣섒(), (object) userState.Item1), F5511126\u002D69FC\u002D4DE1\u002D897E\u002DD707F781EEDB.셄(), MessageBoxButton.OK, MessageBoxImage.Exclamation, MessageBoxResult.OK, MessageBoxOptions.DefaultDesktopOnly);
Environment.Exit(0);
}
}
[/SRC]