Communication between Windows phone and a desktop application - c#

I want to have a WPF application running on my desktop to communicate with the windows phone. For instance my WPF application should bring all the contacts/messages from Windows phone to local disk. Then I have to store it somehow. But it is the data fetching part which I have to go through first.
Phone would be connected to PC via USB cable. Is there any library available for c# which can give me methods to extract such phone specific data when phone is USB-connected to the PC?

Related

USB Mass Storage device communication in Windows UWP desktop application

I am developing a Windows desktop application which communicates with a fingerprint device with their provided .dll library. I developed a complete functioning application in WPF application. But while upgrading the application to UWP application it doesn't communicate with device where it works fine in WPF application. I added device capabilities with Vendor and Product ID in App manifest but still no progress. What is different in WPF and UWP in communicating with USB Mass Storage modules from the application?

UWP Windows Phone detect type of USB connection

I'm writing an app for a Windows 10 Mobile Enterprise phone, using the UWP framework and C#.
When I plug the phone into a computer, the phone prompts for whether I want to allow a data connection, or just power.
I know there's an event to detect whether the phone is being charged or not, but I need an event that is fired when the user says Yes to allow a data connection.

How can I determine whether I am connected to WiFi or a cellular network wpf?

I am working with a WPF app for tablets with Windows 8.1. The app connects to SAP. In the settings I have to implement an option for synchronisation to only occur over a WiFi network.
How can I determine if the tablet is connected to WiFi or a cellular network? From my research I have found ways to do this on XP and Vista or using Universal Apps. How can I implement this feature using WPF and Windows 8.1?

Wifi Control Windows Phone 8

I'm building a Windows Phone ( and 8.1 App, which uses a Wifi connection to syncronize some data with a database.
My problem is that I have several hotspots. Can I force my application to use a predefined hotspot?
No, you have no control over WiFi with the current API.

Detect WP7 phone like Zune software

When I connhect my Windows Phone 7 device to my desktop, Zune automatically starts.
I need to develop an application that have the same behavior.
How can I do that?
Thanks.
See this post Start program on usb hardware plugin
So, you need to create a windows service which will polling connected usb-devices and starts your application.

Categories