Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am working on a project. A desktop application to share screen to multiple connected user's over hotspot and without any internet connectivity.But i am not sure if that's possible.

What I have tried:

I have tried the solution to create hotspot and successfully done it. Next to share screen.
Posted
Updated 9-Mar-18 5:01am
v2

1 solution

A SignalR application might be the simplest way to do this, see this example: CodePlex Archive[^] but there is a limit to the size of the pictures that can be sent.
The CodePlex example uses IIS, but it is also possible to make an even simpler selfhosted SignalR application, see: Tutorial: SignalR Self-Host | Microsoft Docs[^]

Here is another interesting SignalR chat app with pictures: [Chat app]

If you have to send larger pictures, TCP would be a better choice, see: TcpClient Class (System.Net.Sockets)[^]
You could also use a simple web server like "USB webserver on a stick", XAMPP or something similar to handle the bulk of the file tranfers and use SignalR for the communication.
Just place the files in the root directory of the web server, then you can use e.g. htttp://1.2.3.4/myfile.jpg to download it with WebClient.DownloadFile().
See: WebClient.DownloadFile Method (String, String) (System.Net)[^]
 
Share this answer
 
v4
Comments
Member 13714031 17-Mar-18 6:04am    
The project i am working on is.I create hotspot through my computer and than my friends join through that virtual network. If i share my desktop screen all the connected users can see the shared screen.I want to do this without any internet connection.
RickZeeland 17-Mar-18 6:41am    
SignalR can work without an internet connection too, I tested this in a local network.
Maciej Los 17-Mar-18 8:51am    
5ed!

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