Source

main / Source / Excel / Excel.BizLogic / CustomCertificatePolicy.cs

Full commit
// -----------------------------------------------------------------------
// <copyright file="CustomCertificatePolicy.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace DataUp.Excel.BizLogic
{
     /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class CustomCertificatePolicy : ICertificatePolicy
    {
        public bool CheckValidationResult(ServicePoint srvPoint, System.Security.Cryptography.X509Certificates.X509Certificate certificate, WebRequest request, int certificateProblem)
        {
            return true;
        }
    }
}