Вопрос

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)?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top