Example #1
0
        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);
        }
Example #2
0
        public static string GetExternalIpAddress(string url)
        {
            var jsonLoader = new JsonLoader(url);

            return(jsonLoader.GetValue(0, "External_Ip"));
        }