private void Find_AfterSecureLinkReady(object sender, AfterSecureLinkReadyEventArgs e) { DicomConnection connection = sender as DicomConnection; if (e.Error == DicomExceptionCode.Success) { DicomTlsCipherSuiteType cipher = connection.GetTlsCipherSuite(); GatewaySession.Log(LogType.Information, String.Format(SECURE_LINK_READY_CIPHERSUITE, cipher.GetCipherFriendlyName())); } else { GatewaySession.Log(LogType.Information, String.Format(SECURE_LINK_FAILED, e.Error)); } }
private void store_AfterSecureLinkReady(object sender, AfterSecureLinkReadyEventArgs e) { StoreScu connection = sender as StoreScu; if (e.Error == DicomExceptionCode.Success) { DicomTlsCipherSuiteType cipher = connection.GetTlsCipherSuite(); LogEvent(LogType.Information, MessageDirection.Input, String.Format(SECURE_LINK_READY_CIPHERSUITE, cipher.GetCipherFriendlyName()), DicomCommandType.Undefined, null, connection, null); } else { LogEvent(LogType.Information, MessageDirection.Input, String.Format(SECURE_LINK_FAILED, e.Error), DicomCommandType.Undefined, null, connection, null); } }