Dart.PowerTCP.EmailValidation Namespace > Dns Class : ServerPort Property (Dns) |
Gets or sets the port to use for communicating with the DNS server.
[Visual Basic]
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Gets or Sets the DNS server port. Defaults to 53.")>
<DefaultValueAttribute()>
Public Property ServerPort As Integer
[C#]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Gets or Sets the DNS server port. Defaults to 53.")]
[DefaultValueAttribute()]
public int ServerPort {get; set;}
[C++]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Gets or Sets the DNS server port. Defaults to 53.")]
[DefaultValueAttribute()]
public: __property int get_ServerPort();
public: __property void set_ServerPort(
int value
);
[C++/CLI]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Gets or Sets the DNS server port. Defaults to 53.")]
[DefaultValueAttribute()]
public:
property int ServerPort {
int get();
void set (int value);
}
An integer value representing the port of the DNS resource to use for communication. Defaults to 53.
Used to identify the DNS resource port, which is the "well-known" port 53 by convention. The object always checks this property, so you can change it at any time and subsequent method calls will automatically communicate with the correct port.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
Send comments on this topic.
Documentation version 1.0.3.0.
© 2008 Dart Communications. All rights reserved.