Hello,
Welcome to our Microsoft Q&A platform!
To make the Xamarin.Android/Forms app communicate with a PC, it's a good choice to use TCP/IP client. You could refer to the links from this comment:
https://forums.xamarin.com/discussion/comment/393629/#Comment_393629
If you want to perform the communication via usb, you may need to consume a tool or library.
Check the links:
https://stackoverflow.com/questions/49015125/communicating-with-a-website-via-usb-connection-to-a-xamarin-android-app
https://forums.xamarin.com/discussion/127902/xamarin-forms-android-app-connect-communicate-via-usb-to-pc
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.