Dart.PowerTCP.SslSockets Namespace > Dns Class > Dns Constructor : Dns Constructor(IContainer) |
Initializes a new instance of the Dns class.
[Visual Basic]
Public Function New( _
ByVal container As IContainer _
)
[C#]
public Dns(
IContainer container
);
[C++]
public: Dns(
IContainer* container
)
[C++/CLI]
public:
Dns(
IContainer^ container
)
Use this constructor to add the Dns component to the IContainer container.
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 |
---|---|
Client | Empty string |
ClientPort | 0 |
DoEvents | true |
Server | Empty string |
ServerPort | 53 |
Timeout | 3000 |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Dns Class | Dns Members | Overload List
Send comments on this topic.
Documentation version 1.1.2.0.
© 2008 Dart Communications. All rights reserved.