Example #1
0
 /// <summary>
 /// 反初始化SSL环境
 /// </summary>
 public virtual void UnInitialize()
 {
     if (pClient != IntPtr.Zero)
     {
         SSLSdk.HP_SSLClient_CleanupSSLContext(pClient);
     }
 }
Example #2
0
 /// <summary>
 /// 反初始化SSL环境
 /// </summary>
 protected virtual void Uninitialize()
 {
     if (Interlocked.Decrement(ref ObjectReferer) == 0 && pClient != IntPtr.Zero)
     {
         SSLSdk.HP_SSLClient_CleanupSSLContext(pClient);
     }
 }