# .Net Wrapper Authentication Failure

**URL:** <https://devforum.zoom.us/t/net-wrapper-authentication-failure/14741>\
**Category:** Windows\
**Created:** [April 24, 2020, 9:38am UTC](https://devforum.zoom.us/t/net-wrapper-authentication-failure/14741 "2020-04-24T09:38:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![garry](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/garry/32/6893_2.png) [@garry](https://devforum.zoom.us/u/garry)\
**Post date:** [April 24, 2020, 9:38am UTC](https://devforum.zoom.us/t/net-wrapper-authentication-failure/14741/1 "2020-04-24T09:38:29Z")

</div>

**Description**  
I downloaded the code from [https://github.com/zoom/zoom-c-sharp-wrapper](https://github.com/zoom/zoom-c-sharp-wrapper)  
I plugged in my API Key and Secret key but the ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(param); never fires the onAuthenticationReturn callback.  
I am thus unable to actually join any meetings.

**Which version?**  
Latest from Github: [https://github.com/zoom/zoom-c-sharp-wrapper](https://github.com/zoom/zoom-c-sharp-wrapper)

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Download from [https://github.com/zoom/zoom-c-sharp-wrapper](https://github.com/zoom/zoom-c-sharp-wrapper)
2. Unzip
3. Open …\zoom-c-sharp-wrapper-master\zoom\_sdk\_demo\zoom\_sdk\_demo.csproj project in Visual Studio 2017
4. Enter API Key and Secret Key from [https://marketplace.zoom.us/develop/apps/{my-key}/credentials](https://marketplace.zoom.us/develop/apps/%7Bmy-key%7D/credentials)
5. Add break point on line 34 in public void onAuthenticationReturn(AuthResult ret)
6. Click Auth button
7. Break point is never reached. App hangs.

**Additional context**  
I have Zoom installed on this machine and it can connect to meetings.

---

<div class="post-metadata">

**Author:** ![garry](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/garry/32/6893_2.png) [@garry](https://devforum.zoom.us/u/garry)\
**Post date:** [April 24, 2020, 10:09am UTC](https://devforum.zoom.us/t/net-wrapper-authentication-failure/14741/2 "2020-04-24T10:09:47Z")

</div>

So I found another URL: [https://marketplace.zoom.us/docs/sdk/native-sdks/windows/c-sharp-wrapper](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/c-sharp-wrapper) which explained how to copy binaries and .h files (why?), but more importantly set the run mode to BUILD.  
This now shows the start\_join\_meeting dialogue.  
Given the adoption by Zoom of mandatory passwords, there is no password field for joining a meeting, so I added one to the XAML and C#:

 ![zoom-password](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/999ff8624a5c840cd143483a6ef98450f6968cd3.jpeg)

What is the “Access Token”, and UserID/UserToken required to start a meeting?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 25, 2020, 12:19am UTC](https://devforum.zoom.us/t/net-wrapper-authentication-failure/14741/3 "2020-04-25T00:19:28Z")

</div>

Hi [garry](https://devforum.zoom.us/t/net-wrapper-authentication-failure/14741/2),

Thanks for the post. And glad to hear that you have found the solution. Yes, please use SDK key & secret for authentication(not API key & secret). The sample app is for demo purposes so it might not include all features in the app, but the corresponding interfaces should be there for you to use while integrating. Happy Zooming! 🙂

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:56pm UTC](https://devforum.zoom.us/t/net-wrapper-authentication-failure/14741/4 "2020-08-21T20:56:03Z")

</div>

Closed on August 21, 2020, 8:56pm UTC


