Hello there, I am migrating some code from classic asp to asp.net.
Right now i have come across a code which i cant figure how it translate to C# as i dont even know what it does.
If anyone understand the above, it would be nice to write its equivalent in C#.
Thanks in advance
Right now i have come across a code which i cant figure how it translate to C# as i dont even know what it does.
Code:
httpresponse = Server.Create("Microsoft.XMLHTTP")
if S_DIRECT_RESPONSE=1 then
httpresponse.Open "GET",url_trait,false
httpresponse.Send
response.write (httpresponse.responseText)
response.end
else
httpresponse.Open "GET",url_trait,true
httpresponse.Send
end if
If anyone understand the above, it would be nice to write its equivalent in C#.
Thanks in advance