# Get Partipicant list in a meeting in C# Wrapper

**URL:** <https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182>\
**Category:** Windows\
**Created:** [July 15, 2020, 1:02pm UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182 "2020-07-15T13:02:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sajithkahawatta](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@sajithkahawatta](https://devforum.zoom.us/u/sajithkahawatta)\
**Post date:** [July 15, 2020, 1:02pm UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182/1 "2020-07-15T13:02:46Z")

</div>

**Description**  
How can I access a meeting using C# wrapper? I am using the zoom\_sdk\_demo sample project. I have created JWT and SDK apps. I first call authenticate the SDK with SDKAuth() using SDK key and secret. I want to access the information in an already created zoom meeting. To do that,

- Should I create a meeting with the same SDK app?
- Can I access meetings created from my zoom account (without using SDK or API)?
- Should I join a meeting to access a meeting?
- Can I access meetings without joining the meeting?
- I tried to get participants list using, `ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingParticipantsController().GetParticipantsList()` in both before and after joining a meeting which always returns null. How can I access the meeting?
- Can you guide me on creating and accessing meeting with c# wrapper?

**Which version?**  
v5.0.24433.0616

---

<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:** [July 18, 2020, 5:05am UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182/2 "2020-07-18T05:05:56Z")

</div>

Hi @sajithkahawatta,

Thanks for using Zoom SDK. Regarding your questions:

> [@sajithkahawatta](#):
>
> Should I create a meeting with the same SDK app?

The C# demo app itself does not implement the feature to create a meeting so you may schedule a meeting using other methods such as Zoom API or implement the login and start instant meeting feature in the demo app. You may refer to the implementation in our Windows SDK demo app: [GitHub - zoom/zoom-sdk-windows: Zoom Windows SDK](https://github.com/zoom/zoom-sdk-windows)

> [@sajithkahawatta](#):
>
> Can I access meetings created from my zoom account (without using SDK or API)?

If you would like to get the list of meetings you have created with Zoom client, after you logged-in, you could use [ZOOM Windows SDK: IPreMeetingService Class Reference](https://zoom.github.io/zoom-sdk-windows/class_i_pre_meeting_service.html#a5a0600ff2049b77a4cfa1d8ff1f04827) to retrieve a list of meeting you have scheduled.

> [@sajithkahawatta](#):
>
> - Should I join a meeting to access a meeting?
> - Can I access meetings without joining the meeting?

May I inquire about what is the meaning of “access” here? If you would like to get the meeting data without joining a meeting, you may consider using Zoom API([https://marketplace.zoom.us/docs/api-reference/introduction](https://marketplace.zoom.us/docs/api-reference/introduction)).

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![sajithkahawatta](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@sajithkahawatta](https://devforum.zoom.us/u/sajithkahawatta)\
**Post date:** [July 20, 2020, 2:05am UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182/3 "2020-07-20T02:05:10Z")

</div>

Thank you @carson.zoom, This is really helpful, few more questions,

> [@carson.zoom](#):
>
> May I inquire about what is the meaning of “access” here? If you would like to get the meeting data without joining a meeting, you may consider using Zoom API([https://marketplace.zoom.us/docs/api-reference/introduction](https://marketplace.zoom.us/docs/api-reference/introduction)).

Yes, I meant getting the meeting data without joining.  
If we need to access the meeting data without joining like manage the waiting room. Is it possible with Zoom SDK or API without joining the 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:** [July 24, 2020, 5:51am UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182/5 "2020-07-24T05:51:34Z")

</div>

Hi @sajithkahawatta,

Thanks for the reply. If you would like to get meeting-related data without joining a meeting, you will need to leverage Zoom API([https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting)).

Thanks!

---

<div class="post-metadata">

**Author:** ![ekaram](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaram/32/23369_2.png) [@ekaram](https://devforum.zoom.us/u/ekaram)\
**Post date:** [March 3, 2021, 7:57pm UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182/6 "2021-03-03T19:57:09Z")

</div>

Hey, I don’t think I understood if there was a way to get the participants list inside a zoom meeting. From @sajithkahawatta it seems that  
ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingParticipantsController().GetParticipantsList()  
Doesn’t work or wasn’t used properly?

# The Question

- How can we get participants in the meeting with the ZOOM Client SDK

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 3, 2021, 10:14pm UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182/7 "2021-03-03T22:14:37Z")

</div>

Hey @ekaram,

Thanks for using the dev forum!

You are correct that [GetParticipantsList](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_meeting_participants_controller.html#a1b41a78318d60090da228bbb805114bf) is the function to get the list of participants in the meeting.  
What is that method returning when you call it?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![ekaram](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaram/32/23369_2.png) [@ekaram](https://devforum.zoom.us/u/ekaram)\
**Post date:** [March 4, 2021, 2:01pm UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182/8 "2021-03-04T14:01:39Z")

</div>

Hey Michael,  
I also seem to be getting null. It’s returning an empty array. This is how I’m calling it. Please note that I’m using C#

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

> public void onUserNameChanged(UInt32 userId, string userName)  
> {  
> Console.WriteLine(userName);  
> Console.WriteLine(userId);  
> Array users = ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingParticipantsController().GetParticipantsList();  
> Console.WriteLine(String.Join(“\n”, users));  
> }

---

<div class="post-metadata">

**Author:** ![ekaram](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaram/32/23369_2.png) [@ekaram](https://devforum.zoom.us/u/ekaram)\
**Post date:** [March 4, 2021, 7:36pm UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182/9 "2021-03-04T19:36:55Z")

</div>

never mind The mistake was in the print  
we had to do it in the following manner

> public void onUserNameChanged(UInt32 userId, string userName)  
> {  
> Console.WriteLine(userName);  
> Console.WriteLine(userId);  
> Array users = ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingParticipantsController().GetParticipantsList();  
> foreach (var item in users)  
> {  
> Console.WriteLine(item.ToString());  
> }  
> }

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 4, 2021, 8:57pm UTC](https://devforum.zoom.us/t/get-partipicant-list-in-a-meeting-in-c-wrapper/24182/10 "2021-03-04T20:57:47Z")

</div>

Hey @ekaram,

Ah, I see. I have made the same mistake many times 🙂  
Let us know if you have any other questions!

Thanks!  
Michael
