Dart.PowerTCP.EmailValidation Namespace > Dns Class > Dns Constructor : Dns Constructor() |
Initializes a new instance of the Dns class.
[Visual Basic]
Public Function New()
[C#]
public Dns();
[C++]
public: Dns();
[C++/CLI]
public:
Dns();
Use this constructor to create a default instance of the Dns class.
To create an instance of the Dns component using Visual Studio.NET, simply add the Dns component to the form and the object will automatically be created and initialized. If working out of the Visual Studio.NET environment (or using the Dns component as a reference), the Dns component will have to be explicitly created and initialized.
The following table shows initial property values for an instance of Dns.
Property | Initial Value |
---|---|
Dns.Client | Empty string |
Dns.ClientPort | 0 |
Dns.DoEvents | true |
Dns.Server | Empty string |
Dns.ServerPort | 53 |
Dns.Timeout | 3000 |
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
Dns Class | Dns Members | Overload List
Send comments on this topic.
Documentation version 1.0.3.0.
© 2008 Dart Communications. All rights reserved.