[color=]SendToApi
[color=](
[color=]List
[color=]Channel
[color=]>
[color=]
source
[color=],
[color=]
[color=]string
[color=]
country
[color=],
[color=]
[color=]string
[color=]
userAgent
[color=])方法,
将结果上传
。此版本进行移除。不影响原有功能。
[Asm] 纯文本查看 复制代码private async void Btn_check_Click(object sender, RoutedEventArgs e)
{
this.btn_reset.IsEnabled = false;
this.core.CheckStatus = CheckStatus.Checking;
await this.core.StarChecking();
if (this.core.CheckStatus == CheckStatus.Stopping)
{
this.core.CheckStatus = CheckStatus.Stopped;
}
else
{
this.core.CheckStatus = CheckStatus.Finished;
}
Core.SendToApi((from w in this.core.Channel_Full
where w.Status == Status.Online || w.Status == Status.Offline
where !w.Sent
select w).ToList(), this.core.Country, this.core.UserAgent);
this.btn_reset.IsEnabled = true;
MessageBox.Show("已完成链接检查...", "链接检查", MessageBoxButton.OK, MessageBoxImage.Asterisk);
}