WebProxy.Address プロパティ
アセンブリ: System (system.dll 内)

プロキシ サーバーのアドレスを格納している Uri インスタンス。

プロキシ サーバーのアドレスを格納する Address プロパティ。自動プロキシ検出が有効になっておらず、自動構成スクリプトが指定されていない場合、Address プロパティおよび BypassList プロパティによって、要求に使用するプロキシが決定されます。
Address プロパティが null 参照 (Visual Basic では Nothing) の場合、要求はプロキシをバイパスし、送信先のホストに直接接続します。

WebProxy オブジェクトのプロパティ (Address など) を表示するコード例を次に示します。
// The following method displays the properties of the // specified WebProxy instance. public static void DisplayProxyProperties(WebProxy proxy) { Console.WriteLine("Address: {0}", proxy.Address); int count = proxy.BypassList.Length; if (count == 0) { Console.WriteLine("The bypass list is empty."); return; } string[] bypass = proxy.BypassList; Console.WriteLine("The bypass list contents:"); for (int i=0; i< count; i++) { Console.WriteLine(bypass[i]); } }

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からWebProxy.Address プロパティを検索する場合は、下記のリンクをクリックしてください。

- WebProxy.Address プロパティのページへのリンク