C# Класс withSIX.Core.Bla

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetHostType ( ) : CommonUrls.HostType
IgnoreBadCertificates ( ) : void

Together with the AcceptAllCertifications method right below this causes to bypass errors caused by SLL-Errors.

Приватные методы

Метод Описание
AcceptAllCertifications ( object sender, X509Certificate certification, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

In Short: the Method solves the Problem of broken Certificates. Sometime when requesting Data and the sending Webserverconnection is based on a SSL Connection, an Error is caused by Servers whoes Certificate(s) have Errors. Like when the Cert is out of date and much more... So at this point when calling the method, this behaviour is prevented

Описание методов

GetHostType() публичный статический Метод

public static GetHostType ( ) : CommonUrls.HostType
Результат CommonUrls.HostType

IgnoreBadCertificates() публичный статический Метод

Together with the AcceptAllCertifications method right below this causes to bypass errors caused by SLL-Errors.
public static IgnoreBadCertificates ( ) : void
Результат void