Click here to Skip to main content
15,900,108 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi
I find app can show the desktop screen using WCF
http://blog.bobcravens.com/2009/05/multiple-remote-desktop-viewer-c-wcf/[^]

And app can control the mouse using socket
http://channel9.msdn.com/coding4fun/blog/Getting-your-WP7---Desktop-integration-out-of-park-with-PAARC-the-Phone-as-a-Remote-Control-library[^]

So how can I combine them in 1 app?
Or If I use the 2nd app and turn it to show the PC screen, how I can use socket ti get the picture?
Posted
Updated 7-Feb-12 6:25am
v3
Comments
Marc A. Brown 7-Feb-12 12:25pm    
Made your links clickable and added the "Mobile" tag. Hope someone is able to help out.
Sergey Alexandrovich Kryukov 7-Feb-12 13:08pm    
The only question is -- how much help. :-)
Not to worry, most essential piece of help has already arrived -- check it out! :-)
--SA
Sergey Alexandrovich Kryukov 7-Feb-12 12:59pm    
What kind of help do you expect?
--SA
juste_3al_faza 7-Feb-12 13:05pm    
I want to develop an remote desktop but not professional
and I found only that 2 apps can help me
what are the best way to do that app WCF or sockets??????
If possible how Can I combine them in one app ?

Combining two or more applications in one is just a job, not a technical question. If you do not have appropriate development skills to learn how applications work using their source code and documentation and to implement combined functionality, no quick answer can ever help you.

If you have such skills but are hoping that someone will volunteer to do this or part of this job for you, you are probably too naive.

So, either way, the question was pretty much pointless.

But I hope you already got what would be my final answer to your question. That is: get to work!

By the way, if you do the job and face particular problems you can clearly describe, we will gladly try to help you.

[EDIT]

In reply to OP's comments:

You also don't explain in detail what do you want to achieve, more exactly. First of all, do you want to use existing RDP protocol or not?
(Please see http://en.wikipedia.org/wiki/Remote_Desktop_Protocol[^]).

If not, you would need to create your own and create a Windows Service to support it, run it on each target system. I don't know if you need help with Windows Services or not.

In both cases, you might want to create just client part or client and server as well. Why not using existing RDP clients? If you want to create your own, it should be motivated somehow. Maybe you need to offer additional or better features. What kind of features?

You see, you cannot get help if you just say "I want…" You have to be more specific. Do you see the point?

By the way, you may want to check these CodeProject articles:
http://www.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspx[^],
Palantir - Remote Desktop Manager[^].

Palanir is my favorite, by the way.

—SA
 
Share this answer
 
v3
Comments
juste_3al_faza 7-Feb-12 13:10pm    
actually I don't want someone do it, I want just help how to do it by myself
cause I want to learn from my mistakes :)
and I have 4 weeks search about that and I have 4 months to develop remote desktop app for my project. And I have a lot of information but the problem how I can use it
Sergey Alexandrovich Kryukov 7-Feb-12 13:24pm    
But I asked you: what kind of help? You are not answering.
Please do understand, we cannot tutor you. You are not asking any particular technical question. What you need is just methodical work. What methods of your work needs sharpening -- I don't know. Maybe a lot, but maybe just some patience...
--SA
juste_3al_faza 7-Feb-12 13:39pm    
OK that's my question
- How to send picture from PC (server side) to WP7 (client side)? (using socket or WCF)
- To connect to the server from WP7, it need only IP address or must add port too???

I see the remote desktop apps in the marketplace and look very difficult, but I want just in my app to show PC's screen and control the mouse with using a keyboard.
I hope that's question is enough.
Sergey Alexandrovich Kryukov 7-Feb-12 14:06pm    
Yes, this is more clear. I added some references, please see after [EDIT].
You main problem will probably the subset of .NET compatible with Windows Phone, you will need to check it.

The port is defined by the server side, you always need one. This is the port the server listens to. Please see the code sample. The client application uses both IP or machine name and port to connect.

In RDP, this is TCP port 3389. I suggest you keep to RDP protocol, referenced above. You can use either TCP sockets or TcpListener/TcpClient classes.

--SA
juste_3al_faza 8-Feb-12 8:55am    
Thanks a lot SAKryukov.
I know the RDP protocol and I know how to use it, cause RDP is useful to connect to the server in low speed ADSL.
For windows service I don't need to use it in my project.
And the CodeProject articles :
- the 1st give help to know the RP protocol
- the 2nd, sorry I don't know anything about it, but the configuration to how to connect to the server (about choose 32bit or 16bit it may help me later, the resolution, the machine name && password) it may help me later

And my new question is how send data (pictures) from PC to WP7?
I hope I find the solution here, because I search and it look very difficult.
Sorry for retard's comment because I have a little problem at home.
Also there is a person have my same problem, she also want to create the Remote desktop WP7 :)
and she asks about capture PC screen by using socket.
How do I serialize media objects (pictures) for socket transfer??
I want to be able to send pictures files from Pc to WP7 via wifi using socket, how can I convert the picture file to what the file extension stream and send it?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900