Hacking about to extract a core c# sonos lib.