Aracılığıyla paylaş


IPGlobalProperties.DhcpScopeName Özellik

Tanım

Dinamik Ana Bilgisayar Yapılandırma Protokolü (DHCP) kapsam adını alır.

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

Özellik Değeri

String Bilgisayarın DHCP kapsam adını içeren örnek.

Öznitelikler

Özel durumlar

Win32 işlev çağrısı başarısız oldu.

Örnekler

Aşağıdaki kod örneği, yerel bilgisayar için ağ bilgilerini görüntüler.

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

Açıklamalar

DHCP kapsamı, aynı alt ağda bulunan ağa bağlı bilgisayarların yönetim grubudur.

Şunlara uygulanır