# C# Desktop Meetings screen share

**URL:** <https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136>\
**Category:** Windows\
**Created:** [September 29, 2021, 3:24am UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136 "2021-09-29T03:24:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![thatwouldbetheday](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thatwouldbetheday/32/17367_2.png) [@thatwouldbetheday](https://devforum.zoom.us/u/thatwouldbetheday)\
**Post date:** [September 29, 2021, 3:24am UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/1 "2021-09-29T03:24:27Z")

</div>

Hi all,

Is there an example either in C# or C++ enabling/setting up screen share please?

either code example or workflow [here](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/mastering-sdk/SDK-Architecture-and-Workflow)?

thanks.

---

<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:** [September 29, 2021, 5:53pm UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/2 "2021-09-29T17:53:20Z")

</div>

Hey @thatwouldbetheday,

Thanks for using the dev forum! It is nice to see you again.

They only demo code we have for C# is the code available in the C# demo application.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![thatwouldbetheday](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thatwouldbetheday/32/17367_2.png) [@thatwouldbetheday](https://devforum.zoom.us/u/thatwouldbetheday)\
**Post date:** [September 29, 2021, 11:23pm UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/3 "2021-09-29T23:23:57Z")

</div>

Hi @Michael_Condon

Thats fine but do you have a C++ code or workflow for screen sharing?

---

<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:** [September 30, 2021, 5:44pm UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/4 "2021-09-30T17:44:03Z")

</div>

Hey @thatwouldbetheday,

Yep, there are code snippets here: [https://marketplace.zoom.us/docs/sdk/native-sdks/windows/mastering-sdk/custom-ui-feature#4-create-share-render-and-setevent](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/mastering-sdk/custom-ui-feature#4-create-share-render-and-setevent) and there is a full screenshare workflow within the custom UI workflow of the C++ demo app.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![thatwouldbetheday](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thatwouldbetheday/32/17367_2.png) [@thatwouldbetheday](https://devforum.zoom.us/u/thatwouldbetheday)\
**Post date:** [October 1, 2021, 11:25am UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/5 "2021-10-01T11:25:10Z")

</div>

Thanks @Michael_Condon, will have a look!

---

<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:** [October 4, 2021, 9:20pm UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/6 "2021-10-04T21:20:38Z")

</div>

Hey @thatwouldbetheday,

Sounds good! Let me know if you have any questions.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![thatwouldbetheday](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thatwouldbetheday/32/17367_2.png) [@thatwouldbetheday](https://devforum.zoom.us/u/thatwouldbetheday)\
**Post date:** [October 18, 2021, 9:17am UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/7 "2021-10-18T09:17:17Z")

</div>

Hi Michael,

I had a look at the suggested link and it doesn’t sound like it shows how to setup screen share.

The link basically shows how to setup your own client window and custom layout for connections… however my requirements is to intercept ‘start share’ and ‘stop share’ events and pass a preconfigured window to bypass the ‘window selection’ screen presented by the standard zoom client window.

Does Zoom expect to override the whole rigmarole to handle/override screen share events? 😃 😄

---

<div class="post-metadata">

**Author:** ![thatwouldbetheday](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thatwouldbetheday/32/17367_2.png) [@thatwouldbetheday](https://devforum.zoom.us/u/thatwouldbetheday)\
**Post date:** [October 18, 2021, 9:29am UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/8 "2021-10-18T09:29:39Z")

</div>

How did [this](https://devforum.zoom.us/t/getting-gray-color-box-in-shared-screen-windows-sdk-c-wrapper-issue/1769) user get the screen share to work, any idea?

It is the same zoom client?

---

<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:** [October 20, 2021, 10:34pm UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/9 "2021-10-20T22:34:46Z")

</div>

Hey @thatwouldbetheday,

To see a full implementation of screensharing, you should check out the code within the C++ demo application.

Thanks!  
Michael

---

<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:** [November 20, 2021, 8:35am UTC](https://devforum.zoom.us/t/c-desktop-meetings-screen-share/58136/10 "2021-11-20T08:35:17Z")

</div>

Closed on November 20, 2021, 8:35am UTC

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