OP 02 December, 2018 - 03:40 PM
Hi, I'm trying to learn doing a Checker made in C# Console Application.
I'm a PHP Developer myself and have done a perfect web-based checker made in PHP yet you know it is PHP and there are better languages to code a checker.
Right now I'm looking for a way to fetch a value in a response source of a specific web request in C#
In PHP I've simply coded a function to grab a specific value from a web request source.
This function returns the $value from the $source that I wanted to fetch. Ex. When grabbing parts of SPECIFIC DATA when doing a POST REQUEST.
Any help will greatly be appreciated. Thanks. :ezy:
I'm a PHP Developer myself and have done a perfect web-based checker made in PHP yet you know it is PHP and there are better languages to code a checker.
Right now I'm looking for a way to fetch a value in a response source of a specific web request in C#
In PHP I've simply coded a function to grab a specific value from a web request source.
Code:
function fetchValue($source,$value,$end){
$str = explode($value,$source);
$str = explode($end,$str[1]);
return $str[0];
}
This function returns the $value from the $source that I wanted to fetch. Ex. When grabbing parts of SPECIFIC DATA when doing a POST REQUEST.
Any help will greatly be appreciated. Thanks. :ezy: