IPGlobalProperties.IsWinsProxy プロパティ

定義

ローカル コンピューターが、WINS (Windows Internet Name Service) プロキシとして動作しているかどうかを指定する Boolean 値を取得します。

public:
 abstract property bool IsWinsProxy { bool get(); };
public abstract bool IsWinsProxy { get; }
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
public abstract bool IsWinsProxy { get; }
member this.IsWinsProxy : bool
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
member this.IsWinsProxy : bool
Public MustOverride ReadOnly Property IsWinsProxy As Boolean

プロパティ値

ローカル コンピューターが WINS プロキシである場合は true。それ以外の場合は false

属性

例外

Win32 関数呼び出しが失敗しました。

次のコード例では、ローカル コンピューターのネットワーク情報を表示します。

IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
Console::WriteLine( "Computer name: {0}", properties->HostName );
Console::WriteLine( "Domain name:   {0}", properties->DomainName );
Console::WriteLine( "Node type:     {0:f}", properties->NodeType );
Console::WriteLine( "DHCP scope:    {0}", properties->DhcpScopeName );
Console::WriteLine( "WINS proxy?    {0}", properties->IsWinsProxy );
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
Console.WriteLine("Computer name: {0}", properties.HostName);
Console.WriteLine("Domain name:   {0}", properties.DomainName);
Console.WriteLine("Node type:     {0:f}", properties.NodeType);
Console.WriteLine("DHCP scope:    {0}", properties.DhcpScopeName);
Console.WriteLine("WINS proxy?    {0}", properties.IsWinsProxy);

注釈

WINS は、動的 NetBIOS 名を IP アドレス マッピングに登録してクエリを実行するための分散データベースを提供します。

適用対象