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

このインターフェイスが動的 IP アドレスと静的ドメイン名との対応付けを自動的に登録するように構成されている場合は true。それ以外の場合は false。


Public Shared Sub DisplayDnsConfiguration() Dim adapters As NetworkInterface() = NetworkInterface.GetAllNetworkInterfaces() Dim adapter As NetworkInterface For Each adapter In adapters Dim properties As IPInterfaceProperties = adapter.GetIPProperties() Console.WriteLine(adapter.Description) Console.WriteLine(" DNS suffix................................. :{0}", properties.DnsSuffix) Console.WriteLine(" DNS enabled ............................. : {0}", properties.IsDnsEnabled) Console.WriteLine(" Dynamically configured DNS .............. : {0}", properties.IsDynamicDnsEnabled) Next adapter End Sub 'DisplayDnsConfiguration
public static void DisplayDnsConfiguration() { NetworkInterface[] adapters = NetworkInterface.GetAllNetworkInterfaces(); foreach (NetworkInterface adapter in adapters) { IPInterfaceProperties properties = adapter.GetIPProperties(); Console.WriteLine(adapter.Description); Console.WriteLine(" DNS suffix................................. :{0}" , properties.DnsSuffix); Console.WriteLine(" DNS enabled ............................. : {0}", properties.IsDnsEnabled); Console.WriteLine(" Dynamically configured DNS .............. : {0}", properties.IsDynamicDnsEnabled); } }

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


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

- IPInterfaceProperties.IsDynamicDnsEnabled プロパティのページへのリンク