ABSTRACT - The peculiarities of using unmanaged code in .Net applications are considered. Based on an Windows Desktop application created in C # (v.7.1) in the development environment MS Visual Studio 2017, the steps for enabling WinAPI functions are consistently commented and illustrated. Functionality for partial or complete screen capture and saving of the image is implemented.
Keywords: .NET Platform, Platform Invoke, screenshot, unmanaged code, WinAPI, Windows Forms