gaqmind.blogg.se

Microsoft remote desktop manager screen capture
Microsoft remote desktop manager screen capture







Note from the above code that two pixels in the image are changed so that we can send additional data back to the client including the type of current Windows mouse pointer which I will come back to in more detail later. Screeny.SetPixel( 0, 1, Color.Black) // Set another hidden pixel // so the client know we are in Metro mode else Screeny.SetPixel( 0, 0, C) // Set a pixels color that is based on the current mouse pointer if ( this.IsMetro) // Windows metro mode ( ref X, ref Y, theShot, this.ScreenServerX, this.ScreenServerY) , this.Padding, this.Padding, Sz, CopyPixelOperation.SourceCopy) ( this.ScreenServerX + this.Padding, this.ScreenServerY + this.Padding) Graphics theShot = Graphics.FromImage(screeny) This.Padding, this.ScreenServerY + this.Padding, this.ImageResoloution) The server runs a service on a new thread from a hidden form that waits for a TCP request to come in on port 4000 by default using a that then connects to the client and enters a loop that takes a screen shot of the screen that is then serialized and sent back across the wire as a System.IO.MemoryStream using the code below.īinaryFormatter bFormat = new BinaryFormatter() īitmap screeny = new Bitmap( this.ScreenServerX +

microsoft remote desktop manager screen capture

EXE files are included at the root of the zip file if you would like a free remote desktop and also note that no 3 rd party DLLs have been used in the creation of this project. The full source code included in the above RNCRemoteDesktop.zip download plus the Client/Server application. Well, if Microsoft thought that I was about to pay them to upgrade these devices just to get remote desktop working more than the devices cost in the first place, then they were very wrong indeed so I soon set about building my own remote desktop for free.

microsoft remote desktop manager screen capture

I recently purchased two HP 7 Stream tablets for the kids only to find that my fingers were a bit too big to administer the devices and that my eyesight was not as good as it used to be so I cranked up Microsoft remote desktop so that I could lock these devices down using my laptop and soon discovered that the free Bing 8 version of Windows would not allow this to work without upgrading Windows. This project is a full remote desktop application which is very similar to Microsoft remote desktop that was written using VS2010 and C# and consists of two fully working modules that make up the client server components needed for a remote desktop.









Microsoft remote desktop manager screen capture