How to disable Screenshot/capturing while meeting in C#, Zoom Windows SDK

Hi @searchbarzoom, thanks for using the dev forum.

If you would like to enable/disable being able to show the meeting window programmatically, you can use the EnableShowMyAppWindowWhenShare function.

I have tried to copy paste the C++ code from the above link by following the steps mentioned there but the BOOL, function name and the parameter names are recognized by the compiler.

It sounds like you are working in a C# environment, so I would not expect the compiler to recognize C++ syntax. You can certainly use the C# wrapper, but as noted in our documentation, there is currently limited support for it. The SDK is natively written in C++, so in order to get the complete feature set, using the C++ SDK is recommended. Depending on your use case, there may be pieces of functionality missing from the C# wrapper which you would need to implement and rebuild the wrapper as outlined here.

Thanks!