Network.GetAllByName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Operates the same as InetAddress.getAllByName
except that host
resolution is done on this network.
[Android.Runtime.Register("getAllByName", "(Ljava/lang/String;)[Ljava/net/InetAddress;", "GetGetAllByName_Ljava_lang_String_Handler")]
public virtual Java.Net.InetAddress[]? GetAllByName (string? host);
[<Android.Runtime.Register("getAllByName", "(Ljava/lang/String;)[Ljava/net/InetAddress;", "GetGetAllByName_Ljava_lang_String_Handler")>]
abstract member GetAllByName : string -> Java.Net.InetAddress[]
override this.GetAllByName : string -> Java.Net.InetAddress[]
Parameters
- host
- String
the hostname or literal IP string to be resolved.
Returns
- Attributes
Exceptions
if the address lookup fails.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.