Reputation:
I want to access .sdf file from windows ce mobile to my desktop application in C#.How can i access .sdf file from windows CE mobile.How can i find path of that sdf which is stored in windows ce mobile.
Upvotes: 0
Views: 3334
Reputation: 1179
you can use RAPI to access your sdf file. but it's very trick to access from pc to mobile device. it's better to move your sdf file from mobile to pc and use that file.
Upvotes: -1
Reputation: 67178
A connected device does not have a local path. The "My Device" you see in Explorer is just a trick of a shell extension. To get device files, you have to use RAPI. There's a .NET wrapper for it here.
Upvotes: 1
Reputation: 14658
There is microsoft article about that: http://support.microsoft.com/kb/307256. It uses RemotePAI to access your device.
Here is some similar example : http://christian-helle.blogspot.com/2007/06/copying-files-from-device-to-desktop.html
I hope this helps.
Upvotes: 2