I am no good at C# but never find any snippet that I could use in zenno to get my current IP - it would be even handy to add some field in browser settings, but as I cannot find one I wonder how to do it with C#.
// create regular expression to parse ip
var re = new System.Text.RegularExpressions.Regex("(?<=<br />).*(?=<br />)");
// make a request to ip checking script
var request = ZennoPoster.HttpGet("chek.zennolab.com/index.php");
// parse response with regular expression
return re.Match(request).Value;
// create regular expression to parse ip
var re = new System.Text.RegularExpressions.Regex("(?<=<br />).*(?=<br />)");
// make a request to ip checking script
var request = ZennoPoster.HttpGet("chek.zennolab.com/index.php");
// parse response with regular expression
return re.Match(request).Value;
Above code stopped working - I also change regex, but still get not data in output variable. Is there any change in newest zenopsoter to get faster ip of local machine?
// create regular expression to parse ip
var re = new System.Text.RegularExpressions.Regex("(?<=<br>).*(?=<br>)");
// make a request to ip checking script
var request = ZennoPoster.HttpGet("chek.zennolab.com/index.php");
// parse response with regular expression
return re.Match(request).Value;
Code executes with no error, but result variable is empty.
// create regular expression to parse ip
var re = new System.Text.RegularExpressions.Regex("(?<=<br />).*(?=<br)");
// make a request to ip checking script
var request = ZennoPoster.HttpGet("chek.zennolab.com/index.php");
// parse response with regular expression
return re.Match(request).Value;