Source

main / Source / WebClient / Web.BizLogic / CustomCertificatePolicy.cs

Full commit
Naethra D 3ee1b94 























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

namespace DataUp.Web.BizLogic
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Net;

    /// <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;
        }
    }
}