C# Class PSXDH.BLL.CdnOperate

Datei anzeigen Open project: KOPElan/PSX-Download-Helper

Public Methods

Method Description
ExportHost ( ) : bool

导出最终的CDN列表

GetCdnAddress ( string host, bool &isCdn ) : IPAddress

获取DNS解析,如果有CDN主机则返回主机地址,否则返回默认解析

ReadCdnConfig ( ) : void

读取CDN链接

Method Details

ExportHost() public static method

导出最终的CDN列表
public static ExportHost ( ) : bool
return bool

GetCdnAddress() public static method

获取DNS解析,如果有CDN主机则返回主机地址,否则返回默认解析
public static GetCdnAddress ( string host, bool &isCdn ) : IPAddress
host string
isCdn bool
return System.Net.IPAddress

ReadCdnConfig() public static method

读取CDN链接
public static ReadCdnConfig ( ) : void
return void