Hi Ajay, I wanted to do something similar and used P/Invoke with the following function prototype private static extern int GetDC (int hwnd); [DllImport("user32.dll")] I don't know if there is a pure .NET method >-----Original Message----- >Hello, >I am trying to write to the desktop screen. > >Code using Windows API would be: >HDC hdc = GetDC(NULL); > >I need something similar using C#. >Thanks, >Ajay-- >. >
|