c# How to change titles and pictures

I am using C # to encapsulate zoom, but there is always a loading box when I enter. I want to change the title and icon of zoom, as shown in the figure. Please tell me how to do it.
There are also two places that need to be replaced after entering the meeting. Please help me, thank you.

Which version?

How should the UI in this page come from the definition?

Hi zhang_meifu,

Thanks for using Zoom SDK. Our C# wrapper is using the same techniques to configure the strings and icons as the Windows SDK. Here are the ways to customize icon and strings in Windows SDK:

  1. Custom the icon:
  1. Customize the title or string:
  • You may customize the string resources by using the AddCustomizedPictureResource interface, and this configuration also needs to be done before calling the SDK initialization, for example:
std::wstring strCopyURL = _T("Click me to copy live stream URL(customized)");
pCustomizeResHelper->AddCustomizedStringResource(ZOOM_SDK_NAMESPACE::SDK_Customized_LiveStream_MenuString_CopyURL_String, strCopyURL.c_str());

Hope this helps. Thanks!

Thank you very much for helping me sort out the ideas, but there are still some problems after the test. I can successfully replace it in C + + demo, but I can’t find a suitable method in C # demo.

Source: https://github.com/zoom/zoom-c-sharp-wrapper/blob/master/zoom_sdk_c_sharp_wrap/zoom_sdk_dotnet_wrap.cpp#L40

In c# demo, how can I pass the ID of a resource.
ZOOM_SDK_DOTNET_WRAP.InitParam param = new ZOOM_SDK_DOTNET_WRAP.InitParam();
param.language_id = ZOOM_SDK_DOTNET_WRAP.SDK_LANGUAGE_ID.LANGUAGE_Chinese_Simplified;
param.web_domain = “https://zoom.us”;
param.window_big_icon_id = ???;
ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.Initialize(param);

Hi Carson_Chen,Do you have any good suggestions?

Hi zhang_meifu,

Thanks for the reply and pardon the late response. The uiWindowIconSmallID and uiWindowIconBigID are expecting an int. And the ID is defined in the resource.h file(https://github.com/zoom/zoom-sdk-windows/blob/master/demo/sdk_demo_v2/Resource.h#L6). The path is defined in .rc of the project(https://github.com/zoom/zoom-sdk-windows/blob/master/demo/sdk_demo_v2/res/sdk_demo.rc#L4).

The corresponding fields of uiWindowIconSmallID and uiWindowIconBigID in C# wrapper are window_small_icon_id and window_big_icon_id. The resource.h file in C# wrapper is located at:https://github.com/zoom/zoom-c-sharp-wrapper/blob/master/zoom_sdk_c_sharp_wrap/resource.h, and the corresponding .rc file is at: https://github.com/zoom/zoom-c-sharp-wrapper/blob/master/zoom_sdk_c_sharp_wrap/app.rc. You might need to rebuild the C# wrapper once it is modified.

Hope this helps. Thanks!

Thank you for your reply. I’ve tried this method, and it doesn’t work.

  1. I add resources to wrap and regenerate the. DLL file.
  2. I put the new .dll file in C# project to replace, but the result is the same.

    Rebuild and copy the file to the new project.

    Does this. DLL file already contain icon files?

Hi zhang_meifu,

Thanks for the reply and the screenshots. Really appreciate it. Let me circle back to the engineering for more information on the issue you are facing and get back to you shortly.