C# random Webrequest

时间:2018-02-03 10:36:54

标签: c# http request

i have some skills in c#, but never worked with web request.

So my friend make an Site, and i wanna request this site like https://www.mysite.de/(md5hash). I overgive with the url an md5 hash, and on the website the md5 will checked, when its checked the webserver send me an true as answer, when the hash didnt checked i get an false.

like this:
string externalip = new WebClient().DownloadString("http://icanhazip.com");

can someone please help me? cant find an example like this.. is the way possible or do you know a better way?

0 个答案:

没有答案