Corrected how clipboard redirection is done

Previously DisableRdpdr was used, which broke smartcard and sound redirection.
By changing it to use AdvancedSettings6.RedirectClipboard, it works without breaking other stuff.
This commit is contained in:
Bjarke Istrup Pedersen
2020-03-17 09:43:29 +01:00
parent 417eec1d45
commit 36b9d01917
2 changed files with 4 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- #1589: Update SQL tables instead of rewriting them
- #1337: Unhandled exception after closing mRemoteNG
- #359: Making a VNC connection to an unreachable host causes the application to not respond for 20-30 seconds
- #1465: REGRESSION: Smart Cards redirection to Remote Desktop not working
- #1632: 1.77.1 breaks RDP drive and sound redirection
- #1713: Sound redirection does not work if Clipboard redirection is set to No
## [1.77.1] - 2019-09-02
### Added

View File

@@ -589,7 +589,7 @@ namespace mRemoteNG.Connection.Protocol.RDP
_rdpClient.AdvancedSettings2.RedirectPrinters = connectionInfo.RedirectPrinters;
_rdpClient.AdvancedSettings2.RedirectSmartCards = connectionInfo.RedirectSmartCards;
_rdpClient.SecuredSettings2.AudioRedirectionMode = (int)connectionInfo.RedirectSound;
_rdpClient.AdvancedSettings.DisableRdpdr = connectionInfo.RedirectClipboard ? 0 : 1;
_rdpClient.AdvancedSettings6.RedirectClipboard = connectionInfo.RedirectClipboard;
}
catch (Exception ex)
{