See Also

SmtpTester Class  | SmtpTester Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerTCP Email Validation for .NET

ClientPort Property

Dart.PowerTCP.EmailValidation Namespace > SmtpTester Class : ClientPort Property (SmtpTester)

Gets or sets a string used to restrict the local data port to a value or range of values.

[Visual Basic]
<DescriptionAttribute("Gets or sets a string used to restrict the local data port to a value or range of values.")> <DefaultValueAttribute()> Public Property ClientPort As Integer
[C#]
[DescriptionAttribute("Gets or sets a string used to restrict the local data port to a value or range of values.")] [DefaultValueAttribute()] public int ClientPort {get; set;}
[C++]
[DescriptionAttribute("Gets or sets a string used to restrict the local data port to a value or range of values.")] [DefaultValueAttribute()] public: __property int get_ClientPort(); public: __property void set_ClientPort(    int value );
[C++/CLI]
[DescriptionAttribute("Gets or sets a string used to restrict the local data port to a value or range of values.")] [DefaultValueAttribute()] public: property int ClientPort {    int get();    void set (int value); }

Return Type

A string representing the local port or range of local ports to which communication is restricted. A "0" indicates that any port can be used. The default is "0".

Remarks

Set this property if for some reason the client machine is limited in the ports that can be used. This is often the case in intranet environments where client are restricted or behind a firewall for security purposes.

The default value, "0", indicates that any port may be used. When set to a single value, such as "20", only that port is used. When set to a range of values, such as "1024:1028", successive ports in this range are tried until one can be opened.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

SmtpTester Class  | SmtpTester Members


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.