/// <summary> /// Sets the SSL implementation to be used by the channel. /// </summary> public void SetSslImplementation(SslImplementation sslImplementation) { RCFProtoPINVOKE.RcfProtoChannel_setSslImplementation(swigCPtr, (int)sslImplementation); if (RCFProtoPINVOKE.SWIGPendingException.Pending) { throw RCFProtoPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Sets the default SSL implementation to use (OpenSSL or Schannel). The default is OpenSSL. /// </summary> public static void SetDefaultSslImplementation(SslImplementation sslImplementation) { RCFProtoPINVOKE.setDefaultSslImplementation((int)sslImplementation); if (RCFProtoPINVOKE.SWIGPendingException.Pending) { throw RCFProtoPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Gets the SSL implementation. /// </summary> public SslImplementation GetSslImplementation() { SslImplementation ret = (SslImplementation)RCFProtoPINVOKE.RcfProtoChannel_getSslImplementation(swigCPtr); if (RCFProtoPINVOKE.SWIGPendingException.Pending) { throw RCFProtoPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// Gets the default SSL implementation. /// </summary> public static SslImplementation GetDefaultSslImplementation() { SslImplementation ret = (SslImplementation)RCFProtoPINVOKE.getDefaultSslImplementation(); if (RCFProtoPINVOKE.SWIGPendingException.Pending) { throw RCFProtoPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }