C# Class IronSmarkets.Sockets.SocketSettings

Exibir arquivo Open project: smarkets/IronSmarkets Class Usage Examples

Public Methods

Method Description
SocketSettings ( string host, int port ) : System.Net.Security
SocketSettings ( string host, string hostname, int port, bool ssl, RemoteCertificateValidationCallback remoteSslCallback ) : System.Net.Security

Private Methods

Method Description
ValidateServerCertificate ( object sender, X509Certificate certficiate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

Method Details

SocketSettings() public method

public SocketSettings ( string host, int port ) : System.Net.Security
host string
port int
return System.Net.Security

SocketSettings() public method

public SocketSettings ( string host, string hostname, int port, bool ssl, RemoteCertificateValidationCallback remoteSslCallback ) : System.Net.Security
host string
hostname string
port int
ssl bool
remoteSslCallback RemoteCertificateValidationCallback
return System.Net.Security