-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new redirection-properties RedirectCameras and RedirectLocation, and a event to allow RdpClient customization before connection #7
Conversation
Thanks for the PR. I don't know why but I wasn't notified by github until you closed the PR. I'm happy to look at it on Monday and merge it/publish a new package with your extensions. Sorry for the delay! |
It would be nice to get everything merged, but unfortunately I noticed some issues in my PR. For Also, I would like to make some more changes, that I already did in my local fork:
Let me know if you would be okay with all these additional configuration options. |
Wohoo! Got notified by github about this. Great! Sure, all new props and features are welcome. Implementing a new client can be challenging to test on older OS versions but if you implement newer versions, I'm not complaining 😅 Looking forward to the updated PR and thanks for helping out! |
Thanks GitHub for sending notifications 🥳 Great! Really appreciate how open you are to changes and new features! About the new client - what would be the best way about implementing it? Will update the PR either today or tomorrow then! |
Yes, I think that's the best way to do it. If you add the new props and methods to the interface, you need to gracefully (log and ignore) the setting in the older versions which don't support those props/methods. When the factory is able to instantiate the new client, most of the time, it will work then. I had a situation once which was a bit more tricky but I think this was more of an edge case hopefully. As for testing, there are a couple of scenarios to consider. Sometimes you don't want to "touch" the ActiveX property if the corresponding property has not been set (mostly strings). For bool and int values it should be sufficient to simply set the ActiveX's default in the configuration. Then you just try to set them to a non-default value and see if the client can handle it. That should do it for most cases. |
…e property still exists on ConnectionConfiguration.cs)
… the RdpClient in extra ways not covered by the RdpConfiguration
…onKeepAliveInterval
LGTM Will do some more tests and publish nuget soon. Thanks again for the PR! |
Hey, it's me again 😄
I added two more redirection-properties (RedirectCameras and RedirectLocation) in this PR.
And also added a event that allows users (like me) to customize the RdpClient, before connection is established.
Would highly appreciate if this PR got merged, and a new version of the Nuget-package could be released.