0

I am developing a windows forms application which should communicate with Mobile devices(First with iOS devices, later with Android). Communication can only be through Usb port. Which is the best way to detect if the mobile device is connected, and if it is possible to connect windows application with only a specific mobile application. I hope someone can help me!

Thank you

user3584880
  • 15
  • 1
  • 7

1 Answers1

0

I know this post is a bit old, but I recently wrote a blog post explaining how I was able to achieve this

http://thecodewash.blogspot.com/2017/05/communicating-with-your-ios-app-over.html

To answer your question (so this answer isn't just a link), yes it definitely is possible to achieve this utilizing the USB Multiplexing Daemon (usbmuxd) program that is usually installed as part of iTunes. This program can create a socket connection to your iOS device through the USB cable, and allow you to communicate via that socket connection like you would any other socket. The link goes into much more detail.

Hope this helps anyone else looking for answers regarding this.

Carlos Rodriguez
  • 2,190
  • 2
  • 18
  • 29