PowerTCP Mail for .NET
HostNameOrAddress Property




Gets or sets the host name or address resolved to create this IPEndPoint. Also performs a DNS resolution.
Syntax
Public Property HostNameOrAddress As String
Dim instance As IPEndPoint
Dim value As String
 
instance.HostNameOrAddress = value
 
value = instance.HostNameOrAddress
public string HostNameOrAddress {get; set;}
public: __property string* get_HostNameOrAddress();
public: __property void set_HostNameOrAddress( 
   string* value
);
public:
property String^ HostNameOrAddress {
   String^ get();
   void set (    String^ value);
}
Remarks
The value of this property is limited to 126 characters in pre-4.0 versions of the .NET Framework, and 255 characters in versions 4.0 and higher. IDN encoding is performed for DNS resolution if a non-ASCII hostname is provided.
See Also

Reference

IPEndPoint Class
IPEndPoint Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic