c# How to change titles and pictures

Description
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?
v4.6.15074.0203




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
C#demo:
https://github.com/zoom/zoom-c-sharp-wrapper/blob/master/zoom_sdk_demo/App.xaml.cs#L22

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?
    image

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.

Thanks!

Hi Carson_Chen,Any good news?

Hi zhang_meifu,

Thanks for the reply. After consulting the engineering team, you might need to uncomment the line in your Step 2:

param_.hResInstance = initInfo.res_instance

Without this, our SDK will not know where to find the resources.
You may refer to the implementation in our Windows SDK demo app:https://github.com/zoom/zoom-sdk-windows/blob/master/demo/sdk_demo_v2/sdk_init_auth_ui.cpp#L78

Hope this helps. Thanks!

Thank you. I tried two different schemes for packaging according to the example demo you gave, but it is still the original logo, and there is no change.


Hey @Carson_Chen, any ideas?

Thanks,
Tommy

facing similar problem. Here you can get the solution about the zoom software.

Hi hishholds,

Thanks for using Zoom SDK. Are you not able to change the tiles and pictures as well? The link you shared has nothing to do with Zoom so I removed it. Please do not share external links that are not related to the question.

Thanks!