프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Bf2StatsHost | string | ||
DnsCacheReport | |||
GamespyHosts | string[] | ||
GamespyServerAddress | |||
StatsServerAddress |
메소드 | 설명 | |
---|---|---|
ApplyRedirectsAsync ( IProgress |
Applies the specified IP address redirects for the chosen redirect method
|
|
Initialize ( ) : Task |
The main entry point for the redirector
|
|
RebuildDNSCache ( |
Preforms the pings required to fill the dns cache. The reason we ping, is because once the HOSTS file is locked, any request made to a url (when the DNS cache is empty), will skip the hosts file, because it cant be read. If we ping first, then the DNS cache fills up with the IP addresses in the hosts file.
|
|
RemoveRedirects ( ) : void |
Remove the redirects currently active
|
|
SetRedirectMode ( RedirectMode Mode ) : bool |
Sets a new Redirect method. Using this method removes any previous redirects
|
|
VerifyDNSCache ( IProgress |
Queries the DNS Cache for the Gamespy hosts, and verifies that the IP addresses in the DNS Cache match that of the desired redirect IP
|
메소드 | 설명 | |
---|---|---|
DnsFlushResolverCache ( ) : |
||
DnsFlushResolverCacheEntry ( string hostName ) : int | ||
RemoveRedirects ( |
Removes all gamespy related redirects in the specified hosts file container
|
public static ApplyRedirectsAsync ( IProgress |
||
Progress | IProgress |
|
리턴 | Task |
public static RebuildDNSCache ( |
||
CancelToken | ||
리턴 | void |
public static SetRedirectMode ( RedirectMode Mode ) : bool | ||
Mode | RedirectMode | The new redirect mode |
리턴 | bool |
public static VerifyDNSCache ( IProgress |
||
Progress | IProgress |
|
리턴 | bool |
public static GamespyDnsReport,BF2Statistics.Gamespy.Redirector DnsCacheReport | ||
리턴 |
public static IPAddress,System.Net GamespyServerAddress | ||
리턴 |