IPGlobalProperties.NodeType 속성

정의

로컬 컴퓨터의 NetBIOS(Network Basic Input/Output System) 노드 형식을 가져옵니다.

public:
 abstract property System::Net::NetworkInformation::NetBiosNodeType NodeType { System::Net::NetworkInformation::NetBiosNodeType get(); };
public abstract System.Net.NetworkInformation.NetBiosNodeType NodeType { get; }
member this.NodeType : System.Net.NetworkInformation.NetBiosNodeType
Public MustOverride ReadOnly Property NodeType As NetBiosNodeType

속성 값

NetBiosNodeType 값입니다.

예외

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);

설명

노드 유형은 NetBIOS 이름이 IP 주소로 확인되는 방법을 결정합니다. 자세한 내용은 클래스 개요를 NetBiosNodeType 참조하세요.

적용 대상