set timeout httpclient c# code example Example: set request timeout c# <system.web> <httpRuntime executionTimeout="600"/> </system.web>