I have to convert this part of code to C# but I have no idea how. Need your help, guys!
for /f "tokens=*" %%a in ('curl -s -m 3 http://hghgh.hgh.fgfjk/ ^| jq .ua') do set uagent=%%a
I think, I should use ProcessStartInfo, but not sure about -s -m
and ^| jq .ua
parts