PowerTCP SSH and SFTP for .NET
HostNameOrAddress Property (IPEndPoint)




Gets or sets the host name or string address resolved to create this IPEndPoint. Performs a DNS resolution when set to a host name.
Syntax
'Declaration
 
Public Property HostNameOrAddress As String
'Usage
 
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 SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic