Showing the changes to Source/Libraries/GSF.ServiceProcess/ClientHelper.cs (1 of 13 files). Show all
Unified · Split
| @@ -641,14 +641,14 @@ namespace GSF.ServiceProcess · 640 unmodified lines | |||
| 641 | private void RemotingClient_ConnectionException(object sender, EventArgs<Exception> e) | 641 | private void RemotingClient_ConnectionException(object sender, EventArgs<Exception> e) |
| 642 | { | 642 | { |
| 643 | StringBuilder status = new StringBuilder(); | 643 | StringBuilder status = new StringBuilder(); |
| 644 | TcpClient remotingClient; | 644 | TlsClient remotingClient; |
| 645 | 645 | ||
| 646 | status.AppendFormat("Exception during connection attempt: {0}", e.Argument.Message); | 646 | status.AppendFormat("Exception during connection attempt: {0}", e.Argument.Message); |
| 647 | status.AppendLine(); | 647 | status.AppendLine(); |
| 648 | status.AppendLine(); | 648 | status.AppendLine(); |
| 649 | UpdateStatus(UpdateType.Alarm, status.ToString()); | 649 | UpdateStatus(UpdateType.Alarm, status.ToString()); |
| 650 | 650 | ||
| 651 | remotingClient = m_remotingClient as TcpClient; | 651 | remotingClient = m_remotingClient as TlsClient; |
| 652 | 652 | ||
| 653 | if ((object)remotingClient != null) | 653 | if ((object)remotingClient != null) |
| 654 | remotingClient.NetworkCredential = null; | 654 | remotingClient.NetworkCredential = null; |