C# change project environment

C#

Looks like I need to use AAPI_MODIFYPROJECT2 to apply changes to a Project , how do I get the Project object with C#?

I can select using AAAPI_SELECTPROJECT(id) ; but I don't know to 'access' the selected Project object  .

Thanks for your patience

Kevin.