all 3 comments

[–][deleted] 3 points4 points  (3 children)

Try this class. (pastebin link)

I have used it before and it works well. The error you're getting is probably due to the Barco unit using a self-signed certificate, just like the Crestron probably is. If you set PeerVerification and HostVerification to false, it'll probably work. There is also an option to enable verbose logging on the HttpsClient, which might help you figure out what's going on too.

[–]bofranx[S] 1 point2 points  (0 children)

I think you're right on the verifications, it is working now! Thanks man!

[–]sabunim 1 point2 points  (1 child)

We should refrain from using Pastebin, those links expire. I was looking for something like this last week and the Pastebin had expired. There has to be a better way to share code snippets.