views:

64

answers:

3

I need to find a way to remote & communicate between windows pc and windows mobile via C#. What is the best way to do it via C# ?

A: 

Check out dotnetremoting.com which you can do that, ok it's commercial and may do what you are looking for.

Hope this helps, Best regards, Tom.

tommieb75
Thanks for your suggestion, I'll look for open source library first
Anton Setiawan
@Anton Setiawan: No problem :) But I doubt if there is such an open source implementation of this as remoting is not in use as much. I did try build an implementation using GenuineChannels (It was 99USD and came with source but the company went under - I think...it was on thin ground about two years ago) and tried to port it across but failed! I could suggest another way, employ sockets on the desktop and .NET CF, that would be the basic long winded way of 'remoting'. By serializing the data, and breaking it up into chunks as messages..you get the drift.. :) Good luck in your quest.
tommieb75
+2  A: 

We need a lot more info on exactly what you need to do. For example RAPI provides a communication interface and you can write custom RAPI libraries. That gives the PC the ability to call methods on the device, but it's a far, far cry from actual Remoting.

ctacke
I want to do file transfer and if possible remoting like TeamViewer between PC and windows phone
Anton Setiawan
Then RAPI certainly will fill the bill.
ctacke
A: 

Hi,

have a look on this: http://stackoverflow.com/questions/344335/windows-mobile-c-communicating-between-phone-and-pc

I would recommend using WCF, since it is a recent technology and would enable talking to any compatible device, not only to a windows pc.

br, Marcel

Marcel