Source

main-vinayFork / Source / Excel / Excel.BizLogic / CustomWebClient.cs

Full commit
using System;
using System.Net;
using DataUp.Excel.Common;

namespace DataUp.Excel.BizLogic
{
    public class CustomWebClient : WebClient
    {
        protected override WebRequest GetWebRequest(Uri address)
        {
            WebRequest w = base.GetWebRequest(address);
            w.Timeout = Constants.PostFileTimeOutMinutes * 60 * 1000;
            return w;
        }
    }
}