Ad hoc testing facilities like TestFlight and HockeyApp use a part of the iOS OTA enrollment process to retrieve UDIDs (and possibly other device information, such as device
Yes, you have to set up a complete SCEP process. It is documented by Apple with sample ruby code on this URL: http://developer.apple.com/library/ios/#featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html