PowerSNMP for .NET
HostNameOrAddress Property




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
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


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic