IPGlobalProperties.DhcpScopeName 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
DHCP(Dynamic Host Configuration Protocol) 범위 이름을 가져옵니다.
public:
abstract property System::String ^ DhcpScopeName { System::String ^ get(); };
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
public abstract string DhcpScopeName { get; }
public abstract string DhcpScopeName { get; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
member this.DhcpScopeName : string
member this.DhcpScopeName : string
Public MustOverride ReadOnly Property DhcpScopeName As String
속성 값
컴퓨터의 DHCP 범위 이름이 들어 있는 String 인스턴스입니다.
- 특성
예외
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);
설명
DHCP scope 동일한 서브넷에 있는 네트워크 컴퓨터의 관리 그룹입니다.