public bool Search() { var jsonLoader = new JsonLoader(string.Format(url, Host, Port.ToString())); var opened = jsonLoader.GetValue(0, "Opened"); bool.TryParse(opened, out bool isOpened); return(isOpened); }
public static string GetExternalIpAddress(string url) { var jsonLoader = new JsonLoader(url); return(jsonLoader.GetValue(0, "External_Ip")); }