Opc.Ua.WcfChannelBase.InnerChannel_Opened C# (CSharp) Method

InnerChannel_Opened() private method

Handles the Opened event of the InnerChannel control.
private InnerChannel_Opened ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void
        internal void InnerChannel_Opened(object sender, EventArgs e)
        {
            Uri endpointUrl = this.m_channelFactory.Endpoint.Address.Uri;

            X509Certificate2 clientCertificate = null;
            X509Certificate2 serverCertificate = null;
            
            Security.Audit.SecureChannelCreated(
                    g_ImplementationString,
                    m_channelFactory.Endpoint.Address.Uri.ToString(),
                    null,
                    EndpointDescription,
                    clientCertificate,
                    serverCertificate,
                    BinaryEncodingSupport.Optional);
        }