Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
Im looking to create a sort of remote desktop software, and it is required that i transfer the users screen over the internet to the viewer.
My goal is to create an optimized capture so that i dont have to transfer the whole screen 10 times a second..
The idea i had was take the screenshots on the local computer and then determine only the CHANGED pixels from the last screenshot. So basically if they did something, only what changed on the screen would be sent and reconstructed on the other side, so i can save bandwidth and speed it up for slower internet connections.
My questions:
How can i compare a new screenshot to an old one and determine what has changed.
How would i send the information discovered in step 1 over a standard TCP stream.
How would i reconstruct that data to display the screen updates successfully once on the other side.
VNC is an open source remote desktop software. I recommend you download the source and take a look at how it works. However I am sure its not written in C#.
Here is a link to TightVNC's source code:
http://www.tightvnc.com/download.php
FogCreek recently used the VNC source for its CoPilot product. You can download it's source from here as well:
https://www.copilot.com/faq/#t28
Hope that helps
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last month.
Improve this question
My program is a desktop program made by .net7.
The program is running offline and the end-user is a factory, not all the factories have a network or are willing to pay for a network. We can't change this.
The program is used to verify whether the card has been used. The program reads the id (the id is something like Media Access Control Address that is unique) of the card, searches from the database and returns a result.
The data should not be stored in the card self for most people can clone a new card easily (but they can't clone the id).
As we know, we can store the data by database of file by encryption. However, someone can clear all the records by replacing a blank new database/setting or delete it directly.
The only idea for me is to save the data inside the program but not outside it.
Whereas, how can I achieve this? Or is there a better solution? Thank you.
In NTFS (Windows), you can use the alternate stream of the file. Although, technically, the user will still be able to delete it.
See this answer for details on how to do that with .
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I was wondering how I would go about retrieving a file in a way that wouldn't be shown (or at least somewhat encrypted) in a web debugger or similar tool (wireshark for instance). I am currently using FTP, but FTP has a couple security flaws such as username and password being viewable in a web debugger or in programs that have been created for getting FTP username and password. Would SFTP be any safer?
The important thing to remember here is that Wireshark/Fiddler/et al see every packet that moves through your card. If you have a legitimate need to hide traffic from the card (and I don't see how you could), you're looking at some drastic measures.
With that in mind, establishing a VPN link is likely your best bet. That makes all traffic through your card look pretty much the same, even the legitimate stuff. A simple HTTPS connection might help, too, but in this case you still leak that something was being downloaded, as well as the base domain name (not full URL). Failing that... don't use the card. Fall back to a serial connection or USB thumb drive.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm building a C# application and would like to sell it for an audience. I would like to upload a database file into a website I own and give serial numbers to be verified first with this database file, once the database store the given serial and the first registered PC then it blocks this serial for other users.
Can anybody guide me on how to make such step during installation time? how I can connect to a remote database on a website to read and write?
Thank you for your time, really appreciate it.
If i understand you, this is what your looking for.
Using that you should be able to check a serial against the database.
One way to block the serials for repeated use is to couple a boolean "used" with a serial on each row. Then you can check both if the serial is found in the database, and if the boolean value is false.
Make sure to keep the input safe to prevent SQL injection.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
When you send an application to someone, using another computer, besides the application itself, do I have to send the Resources File too? And if I am using a DataBase do I have to send the Database.mdf file too? And what else would you have to send to make sure your application works on another computers?
Sorry if this question is a repeated one, but most of the others just ask for a single item, either the Resources or something else. But I would like to know about everything you have to send.
Thanks a lot !
it depends on your approach. i think you have a software with database and... that you want to sell and make it owrk on other users device. you can make you app make a new database on first start. you can include database files if its local and add to user app directory and... it all depends on you packaging method and tool.
or maybe you want let someone continue the project. so you can give other developer a back up .bak format or export database files from sql server management studio and other developer can attach them to the other machine project
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am using C# .NET v3.5, SQL SERVER 2008. My team is creating Point Of Sale Windows Application for Restaurant and Super Markets, so there will be a huge amount of pictures in the application. For which, I want to know which will be better in terms of responsiveness, saving the images directly in database or to save image paths in the database.
I'll appreciate your response.
Thank you!
Sarmad Asif
As of me Save Image in paths will be better.
I already gone through these phase. We develop Jewellery Software in which we also have huge amount of image. We first store image in DB but then its very difficult to do daily backups as well as restore once size grows. We tried our level best with SQL2008 to take backup without FileStream and try to restore it but we didn't succeed. And last we have changed our logic for image should show from Path.
Better to save image paths in the database and retrieve the path from db and take the image from the responsive paths.
If the you have small images then use Varbinary, otherwise use FileStream.
see this:
https://www.google.com/#q=sql%20server%20filestream%20vs%20varbinary
This is a good book will really help you:
http://download.red-gate.com/ebooks/SQL/Art_of_SS_Filestream_Sebastian_and_Aelterman.pdf
http://technet.microsoft.com/en-us/library/bb933993(v=sql.105).aspx