Modifier and Type | Method and Description |
---|---|
static String |
getExternalIPAddress()
Returns the External IP Address by connecting to "http://api.ipify.org".
|
static String |
getInternalIPAddress()
Returns the Internal IP Address.
|
static boolean |
isConnectedToInternet()
Returns status of internet connection.
|
public static String getInternalIPAddress()
Returns the Internal IP Address.
public static String getExternalIPAddress()
Returns the External IP Address by connecting to "http://api.ipify.org".
public static boolean isConnectedToInternet()
Returns status of internet connection.
Copyright © 2017–2018 J&G CompTech. All rights reserved.