¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

SimplSharp with HttpClient


 

When I run my code on my RMC4 I get an error of "Input string was not in a correct format".

here is my code: where 192.168.1.22:8080 is my local server and myCD.xml is my CD collection

byte[] vs = new HttpClient().GetBytes("192.168.1.22:8080/myCD.xml");
? ? ? ? ? ? var bytes = vs;
? ? ? ? ? ? CrestronConsole.PrintLine("bytes : {0}", bytes);
? ? ? ? ? ? return bytes.ToString();

Join [email protected] to automatically receive all group messages.