示例#1
0
 /// <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();
     }
 }
示例#2
0
 /// <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();
     }
 }
示例#3
0
        /// <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);
        }
示例#4
0
        /// <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);
        }