C# Class Nekoxy.WinInetUtil

WinINet関連ユーティリティ。
Afficher le fichier Open project: Gizeta/Nekoxy-fiddler Class Usage Examples

Méthodes publiques

Méthode Description
SetProxyInProcess ( string proxy, string proxyBypass ) : void

urlmon.dllを用いて、プロセス内プロキシ設定を適用。

SetProxyInProcessForNekoxy ( int listeningPort ) : void

urlmon.dllを用いて、システムプロキシのhttpプロキシ設定をNekoxyに置換したプロキシ設定をプロセス内プロキシ設定に適用。

Private Methods

Méthode Description
GetProxyConfig ( int listeningPort ) : string

システムプロキシのhttpプロキシ設定をNekoxyに置換したプロキシ設定を取得。

GetSystemHttpProxy ( ) : string

システムプロキシに設定されたHTTPプロキシ設定を取得。

GetSystemHttpProxyHost ( ) : string

システムプロキシに設定されたHTTPプロキシのホスト名を取得。

GetSystemHttpProxyPort ( ) : int

システムプロキシに設定されたHTTPプロキシのポート番号を取得。

GetSystemHttpsProxy ( ) : string
GetSystemHttpsProxyHost ( ) : string
GetSystemHttpsProxyPort ( ) : int
WinHttpGetIEProxyConfigForCurrentUser ( ) : WinHttpCurrentUserIEProxyConfig

WinHTTPでIEプロキシ設定を取得。

Method Details

SetProxyInProcess() public static méthode

urlmon.dllを用いて、プロセス内プロキシ設定を適用。
public static SetProxyInProcess ( string proxy, string proxyBypass ) : void
proxy string プロキシサーバー
proxyBypass string バイパスリスト
Résultat void

SetProxyInProcessForNekoxy() public static méthode

urlmon.dllを用いて、システムプロキシのhttpプロキシ設定をNekoxyに置換したプロキシ設定をプロセス内プロキシ設定に適用。
public static SetProxyInProcessForNekoxy ( int listeningPort ) : void
listeningPort int ポート
Résultat void