سؤال

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