# Dynamically Discovering Game Content

I am trying to determine the best way to dynamically discover new levels in my Windows Phone game. This is necessary because I will be selling some levels separately to those included with the initial game purchase. I assume that it is possible for such purchases to be automatically downloaded and merged into the same directory that contains the game itself.

All my levels are pre-processed and stored as XNBs. Ideally, I would be able to obtain an enumeration of all XNBs of a particular type (ie. Level) within my game directory, but I cannot find a means of doing this. Alternatively, if I could get a list of all XNB names then I could use a naming convention to identify levels. Unfortunately, I can't find a way to do that either.

Am I barking up the wrong tree here? Can anyone shed any light on how I might dynamically discover content in my game?

• the only thing that I can see about updating applications is through "push notifications" which is about turning the application into an active listener, and then when an "update" happens to go out, and get it. not sure about selling them, but here is what I found windowsphone.interoperabilitybridges.com/articles/… – gardian06 May 19 '12 at 12:22