public void Dispose() { _clientChannel.Dispose(); try { var requestFilePath = Path.Combine(_directory, _requestFile); if (File.Exists(requestFilePath)) { File.Delete(requestFilePath); } } catch { } try { var replyFilePath = Path.Combine(_directory, _replyFile); if (File.Exists(replyFilePath)) { File.Delete(replyFilePath); } } catch { } }
public void Dispose() { _serverChannel.Dispose(); }