I try to get screen shot from a window, but my window isn't visible (because form in system tray) draw to bitmap isn't work return blank form image? Any idea for my problem?
Check it out github
This is implementation using SharpDX
Whether you want to take a screenshot using java you check out the comment https://stackoverflow.com/a/58326/6655179