# Latest version of zoom\_sdk\_dotnet\_wrap is not working

**URL:** <https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618>\
**Category:** Windows\
**Created:** [January 13, 2022, 11:08am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618 "2022-01-13T11:08:11Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurdevs](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gurdevs](https://devforum.zoom.us/u/gurdevs)\
**Post date:** [January 13, 2022, 11:08am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/1 "2022-01-13T11:08:11Z")

</div>

**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]

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 13, 2022, 10:28pm UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/2 "2022-01-13T22:28:08Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![gurdevs](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gurdevs](https://devforum.zoom.us/u/gurdevs)\
**Post date:** [January 14, 2022, 5:58am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/3 "2022-01-14T05:58:39Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 14, 2022, 8:16pm UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/4 "2022-01-14T20:16:54Z")

</div>

Hi @gurdevs,

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

Thanks!

---

<div class="post-metadata">

**Author:** ![gurdevs](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gurdevs](https://devforum.zoom.us/u/gurdevs)\
**Post date:** [January 17, 2022, 5:32am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/5 "2022-01-17T05:32:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![saniltr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/saniltr/32/12526_2.png) [@saniltr](https://devforum.zoom.us/u/saniltr)\
**Post date:** [January 17, 2022, 6:54am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/6 "2022-01-17T06:54:05Z")

</div>

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**

```auto
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
      }
}

```

```auto
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);
   }
}

```

```auto
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**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/5/1551062a88c3e4e73e43ac4867a3f993ff879de0.png)

**Check the screenshot below**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/a/7a6998f7660641ab536b0b7e8b4caa00e5eecd17.png)  
Hope this helps!

Thanks  
SANIL T R

---

<div class="post-metadata">

**Author:** ![gurdevs](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gurdevs](https://devforum.zoom.us/u/gurdevs)\
**Post date:** [January 24, 2022, 8:38am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/8 "2022-01-24T08:38:54Z")

</div>

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.

```auto
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.

---

<div class="post-metadata">

**Author:** ![gurdevs](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gurdevs](https://devforum.zoom.us/u/gurdevs)\
**Post date:** [January 25, 2022, 7:41am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/9 "2022-01-25T07:41:12Z")

</div>

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

Thanks

---

<div class="post-metadata">

**Author:** ![saniltr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/saniltr/32/12526_2.png) [@saniltr](https://devforum.zoom.us/u/saniltr)\
**Post date:** [January 25, 2022, 1:56pm UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/10 "2022-01-25T13:56:22Z")

</div>

Hi @gurdevs ,

Change the solution configuration to: **Debug/Release** + **x86** , Please check the image below.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/6/d69cf3982442a13d6dfd137bb06a71ae18707cfa.png)

**Note: Please use the x86 version of zoom-c-sharp-wrapper**  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/f/efef44f08ec201f2eeab44bb2fea183fe8479abd.png)

Please have a try!

Thanks,  
SANIL T R

---

<div class="post-metadata">

**Author:** ![gurdevs](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gurdevs](https://devforum.zoom.us/u/gurdevs)\
**Post date:** [February 3, 2022, 9:51am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/11 "2022-02-03T09:51:22Z")

</div>

I am still getting **SDKERR\_MODULE\_LOAD\_FAILED** when i am trying to initialize the zoom. Please see attached screenshot. I have followed the steps and added the code as shared above for zoom SDK initialization and Authorization.

 ![Screenshot 2022-02-03 at 3.45.59 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/b/3b8b0f0c947e604e430878f25809ec0d0014004d.jpeg)

---

<div class="post-metadata">

**Author:** ![cjordan](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@cjordan](https://devforum.zoom.us/u/cjordan)\
**Post date:** [February 15, 2022, 3:35pm UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/12 "2022-02-15T15:35:24Z")

</div>

After you compile the C# wrapper, be sure to copy the .dll and all files located in that folder to your project output folder, not just the .dll. I had this same issue and followed all of their suggestions. After I copied all files to the project output directory everything started working.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [February 16, 2022, 12:16am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/13 "2022-02-16T00:16:37Z")

</div>

@cjordan,

Thank you for sharing this tip with fellow community members.

Thanks,  
Donte

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 18, 2022, 10:16am UTC](https://devforum.zoom.us/t/latest-version-of-zoom-sdk-dotnet-wrap-is-not-working/62618/14 "2022-03-18T10:16:56Z")

</div>

Closed on March 18, 2022, 10:16am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
