I'm creating an application with background audio player. According to MS requirements, the player is implemented as a separate DLL and lives in another process.
I'm able to pass track name back to my UI process by updating a BackgroundAudioPlayer.Instance.Track
object.
However I'd like my UI to also report state of my download buffer.
What IPC method can I use on WP7 to notify my GUI process?
Update: I considered using 4 named manual reset events to pass 4 bits of the data - fail, WP7 only supports unnamed events that are only suitable for thread synchronization within the same process.
I considered System.Windows.Messaging - fail, SendCompletedCallback raises "LocalMessage_CouldNotDeliverMessage", and the documentation says local messaging is not supported on WP7.
So far, I know only one way - write files to isolated storage, and guard them with named mutex. I don't really want to wear out the NAND flash by doing that. Are there better methods? WP7 has WinCE kernel underneath, which has plenty methods available - mailslots, LPC, RPC, COM, pipes, shared memory, and many others - I can't believe none of them is exposed to Silverlight