There is a support page which provides information about this. You can access it using the link below. Although WinSCP is just a simple program, it's very complex when it comes to API/Library and code programming using NET Assembly.
Make sure to click on bolded works on the page to see the links and references for a specific command.
Support page: http://winscp.net/eng/docs/library_from_script