RasEntry.DnsAddress Property

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Gets or sets the IP address of the DNS server.

Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
public IPAddress DnsAddress { get; set; }
Visual Basic
Public Property DnsAddress As IPAddress
	Get
	Set
Visual C++
public:
property IPAddress^ DnsAddress {
	IPAddress^ get ();
	void set (IPAddress^ value);
}
F#
member DnsAddress : IPAddress with get, set

Property Value

Type: IPAddress

Remarks

Setting this member to a value other than [!:IPAddress.Any] will cause the 'Use the following DNS server addresses' option to be set for TCP/IPv4.

See Also