I'd like to copy an image of the desktop of my secondary screen and place it into a window on the primary screen (using C# and WPF).
I was thinking about using Drawing.CopyFromScreen
but that's WinForm-tech and I'd like to see if it's possible using WPF only.
What would be the fasted perfoming way of doing this if I want to continously capture this image?
Can I create an ImageSource
for the screen image somehow?
Also, if the mouse-pointer is not captured with this method I'd like to draw it into this image so I can see where the pointer is on the secondary screen without actualy seeing the screen physically.
Only need this for Windows 8.