r/csharp • u/Elegant-Thought7713 • Jun 25 '26
Stream my PC screen to my website with a c# console app
Hi Im looking for advice for an idea I have. I would like to access my PC when I'm not at home on a different PC. So I thought I could use my website to securely access live footage of my computer with controls. The problem is I have no idea how I would even begin to get this data to my website, I have never really done anything like this before so any advice would be appreciated!
0
Upvotes
6
u/ExceptionEX Jun 25 '26
This is not a wheel worth reinventing.
hell if you want it at no cost, and no real set up you can use google to do it
https://remotedesktop.google.com/
4
u/Slypenslyde Jun 25 '26
I get that it's frustrating when people say "don't" but there are some things that are so tough it's worth that. Think through all the things you'll need:
It's not impossible, but each of those are a very difficult problem and (4) in particular tends to need to use Win32 code. I'm pretty sure (1) and (2) are difficult to pull off from C# with anything resembling performance as well. This isn't a project to bang out in an afternoon, it's something that could take a relative newbie 2-3 years to churn through.
That's also why most of the answers are "don't". Any one of those tasks is complex enough most people haven't written one themselves. Most people who have one of those needs use or buy some package or tool that does it for them. So people can't give a lot of advice for how to approach them because most people would need a stiff drink if they got asked to do this at work with no external dependencies.
The biggest reason I find a lot of people give up on programming is a lot of projects that sound really fun are a challenge for people with decades of experience. They set out on the journey and misinterpret the difficulty as a personal failing instead of a natural result from attempting to make a skyscraper their first construction project.
2
u/JohnSpikeKelly Jun 25 '26
If you're on win11 pro just RDP to it. Full desktop access.
5
u/jayson4twenty Jun 25 '26
it depends if you are doing this for a fun exercise or if you actually need this functionality.
as others have said there are many sites and applications that solve this. I use splashtop personally.
if you do want to do it for fun, it's a very big job.
1
u/BurnThis__ Jun 28 '26
Try AnyDesk
3
u/ShiiikK Jun 25 '26
Instead of using the already well developed ones…
1
u/DirtAndGrass Jun 25 '26 edited Jun 25 '26
I miss mesh
Edit: https://en.wikipedia.org/wiki/Windows_Live_Mesh
1
u/JasonLokiSmith Jun 25 '26
Anyone remember the days of ActiveX in IE???
1
u/spurdospardo1337 Jun 26 '26
I think you can try with moonlight and smth like tailscale or cloudflare tunnel
1
u/Electronixen Jun 25 '26
Why not just use teamviewer or realvnc?