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