Example #1
0
 private void frmClient_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (client != null)
     {
         client.Destroy();
     }
 }
Example #2
0
        private void frmClient_FormClosed(object sender, FormClosedEventArgs e)
        {
            if (client != null)
            {
                // 反初始化ssl环境
                client.Uninitialize();

                client.Destroy();
            }
        }