Latest version of zoom_sdk_dotnet_wrap is not working

Description
I have downloaded latest version of zoom_sdk_dotnet_wrap with C# and compiled the project successfully with required configuration settings. When i run the demo app bundled with the zip file (zoom_sdk_demo) the demo app is not working.

ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(param);

above line of code simply returns SDKERR_UNINITIALIZE.

Which Windows Meeting SDK version?
zoom-c-sharp-wrapper-5.9.1.2601
zoom-sdk-windows-5.9.1.2601

Device (please complete the following information):

  • Device: [HP]
  • OS: [Windows 10]
  • VS: [Visual studio 2019]

Hi @gurdevs, thanks for using our SDK.

Can you please confirm whether or not you’re providing a valid SDK key and secret in the param object being passed in?

Thanks!

yes, I am using the correct SDK key and secret in the param object being passed. Do i have to do any initialization of the SDK before calling the above method?

Hi @gurdevs,

Yes, you will need to call InitSDK before calling other functions in the SDK.

Thanks!

I don’t find InitSDK method, pls provide with more details of initialisation steps.

Hi @gurdevs ,

Please follow the below steps if you’re using the Zoom Meeting Windows SDK C# Wrapper.
In Windows Form_Load Event call the method InitializeZoom

private void FormZoomLiveJoin_Load(object sender, EventArgs e)
{
      InitializeZoom();
}
private void InitializeZoom()
{
      //init sdk
      ZOOM_SDK_DOTNET_WRAP.InitParam param = new ZOOM_SDK_DOTNET_WRAP.InitParam();
      param.web_domain = "https://zoom.us";
      param.brand_name = "BRAND NAME HERE";
      param.enable_log = true;
   
      ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.Initialize(param);
      if (ZOOM_SDK_DOTNET_WRAP.SDKError.SDKERR_SUCCESS == err)
      {
        AuthorizeZoom();
      }
      else//error handle.todo
      {
        ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.CleanUp();//clean up sdk
      }
}
private void AuthorizeZoom()
{
    ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add_CB_onAuthenticationReturn(onAuthenticationReturn);
    ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add_CB_onLogout(onLogout);
  
    ZOOM_SDK_DOTNET_WRAP.AuthParam param = new AuthParam();   
    param.appKey = "SDK Key here";
    param.appSecret = "SDK Secret here";
    ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(param);
}
public void onAuthenticationReturn(AuthResult ret)
{ 
    if (ZOOM_SDK_DOTNET_WRAP.AuthResult.AUTHRET_SUCCESS == ret)
    {
 	ZOOM_SDK_DOTNET_WRAP.JoinParam param = new ZOOM_SDK_DOTNET_WRAP.JoinParam();
        param.userType = ZOOM_SDK_DOTNET_WRAP.SDKUserType.SDK_UT_WITHOUT_LOGIN;
        ZOOM_SDK_DOTNET_WRAP.JoinParam4WithoutLogin join_api_param = new ZOOM_SDK_DOTNET_WRAP.JoinParam4WithoutLogin();
        join_api_param.meetingNumber = MeetingNumber;
        join_api_param.psw = Passcode;
        join_api_param.userName = UserName;
        param.withoutloginJoin = join_api_param;

        ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Join(param);
        if (ZOOM_SDK_DOTNET_WRAP.SDKError.SDKERR_SUCCESS == err)
        {
           //todo
        }
        else//error handle
        { }
        ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Add_CB_onMeetingStatusChanged(onMeetingStatusChanged);
   }
}
public void onLogout()
{
     //todo
}
public void onMeetingStatusChanged(MeetingStatus status, int iResult)
{
    switch (status)
    {
        case ZOOM_SDK_DOTNET_WRAP.MeetingStatus.MEETING_STATUS_ENDED:
        case ZOOM_SDK_DOTNET_WRAP.MeetingStatus.MEETING_STATUS_FAILED:
               break;
        case ZOOM_SDK_DOTNET_WRAP.MeetingStatus.MEETING_STATUS_INMEETING:
        {
            //connected..
            break;
        }
   }
}

SDK Key & Secret can be found from here

Check the screenshot below


Hope this helps!

Thanks
SANIL T R

I’ve implemented all the mentioned methods to initialize the SDK but im getting the error “SDKERR_MODULE_LOAD_FAILED” when i call Initialize(param) method.

ZOOM_SDK_DOTNET_WRAP.InitParam param = new ZOOM_SDK_DOTNET_WRAP.InitParam();
            param.web_domain = "https://zoom.us";
            param.brand_name = "My app";
            param.enable_log = true;

            ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.Initialize(param);

Your kind assistance will be highly appreciated.

Hello there, I am still waiting for assistance on above issue to proceed further. Please help.

Thanks

Hi @gurdevs ,

Change the solution configuration to: Debug/Release + x86, Please check the image below.
image

Note: Please use the x86 version of zoom-c-sharp-wrapper
image

Please have a try!

Thanks,
SANIL T R