C# 클래스 withSIX.Core.Bla

파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop 1 사용 예제들

공개 메소드들

메소드 설명
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