Example #1
0
 private void icharge1_SSLServerAuthentication(object sender, IchargeSSLServerAuthenticationEventArgs e)
 {
     //string caption = "Server Certificate" + "\r\n" + e.CertIssuer + "\r\n";
     e.Accept = true;
 }
		/// <summary>
		/// Handles the OnSSLAuthentication event of the PaymentGateway control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="IchargeSSLServerAuthenticationEventArgs"/> instance containing the event data.</param>
		private void PaymentGateway_OnSSLAuthentication(object sender, IchargeSSLServerAuthenticationEventArgs e)
		{
			e.Accept = true;
		}
 /// <summary>
 /// Handles the OnSSLAuthentication event of the PaymentGateway control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="IchargeSSLServerAuthenticationEventArgs"/> instance containing the event data.</param>
 private void PaymentGateway_OnSSLAuthentication(object sender, IchargeSSLServerAuthenticationEventArgs e)
 {
     e.Accept = true;
 }