Pregunta

I have Visual Studio 2008 device project (.NETCF Compact Framework). How can I programmatically enumerate elements (both GUIDs and names) available in combo box Target device (Devices -> Deployment options)?

¿Fue útil?

Solución

I think what you want is the Microsoft.SmartDevice.Connectivity API. That should let you get a list of the available devices or emulators on the system.

For example, see: Controlling Devices with the Smart Device Connectivity API

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top