18 lines
380 B
C#
18 lines
380 B
C#
using System.Net;
|
|
|
|
namespace FastGithub.Scanner
|
|
{
|
|
/// <summary>
|
|
/// 定义扫描结果的接口
|
|
/// </summary>
|
|
public interface IGithubScanResults
|
|
{
|
|
/// <summary>
|
|
/// 查找最优的ip
|
|
/// </summary>
|
|
/// <param name="domain"></param>
|
|
/// <returns></returns>
|
|
IPAddress? FindBestAddress(string domain);
|
|
}
|
|
}
|