If you are looking for more information on how to automate the sap gui with c#, please check out this repo: https://github.com/Xiaoy312/csharp-sap-sample
A package that contains saprotwr.dll and sapfewse.ocx converted for .net:
- saprotwr.dll : ROT Wrapper
- sapfewse.ocx : Controls library
SAP version : 730 Final Release
This package is created to be easily referenced by LINQPad, as it doesn't support type and COM library.