There's also Windows.Graphics.Capture. It allows to get texture not only for whole desktop, but just individual windows.