# Stop Share crash in windows meeting SDK C# wrap

**URL:** <https://devforum.zoom.us/t/stop-share-crash-in-windows-meeting-sdk-c-wrap/94563>\
**Category:** Windows\
**Created:** [September 6, 2023, 3:53pm UTC](https://devforum.zoom.us/t/stop-share-crash-in-windows-meeting-sdk-c-wrap/94563 "2023-09-06T15:53:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![necesal.daniel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/necesal.daniel/32/51772_2.png) [@necesal.daniel](https://devforum.zoom.us/u/necesal.daniel)\
**Post date:** [September 6, 2023, 3:53pm UTC](https://devforum.zoom.us/t/stop-share-crash-in-windows-meeting-sdk-c-wrap/94563/1 "2023-09-06T15:53:25Z")

</div>

**Description**  
I’m trying to start and stop sharing screen using websocket calls.  
I used  
return (SDKError)ZOOM\_SDK\_NAMESPACE::CSDKWrap::GetInst().GetMeetingServiceWrap().  
GetMeetingShareController().StopShare();

It works only if the top share bar does nto have the Green Banner with Shield on it. When the shield appears and I stop sharing the whole zoom sdk crashes.

It is super consistent. When the green banner appears any calls to .StopShare() method will crash the zoom sdk.

---

<div class="post-metadata">

**Author:** ![necesal.daniel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/necesal.daniel/32/51772_2.png) [@necesal.daniel](https://devforum.zoom.us/u/necesal.daniel)\
**Post date:** [September 6, 2023, 4:35pm UTC](https://devforum.zoom.us/t/stop-share-crash-in-windows-meeting-sdk-c-wrap/94563/2 "2023-09-06T16:35:58Z")

</div>

Same thing happens when exiting the zoom meeting during sharing

---

<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:** [October 7, 2023, 2:36am UTC](https://devforum.zoom.us/t/stop-share-crash-in-windows-meeting-sdk-c-wrap/94563/3 "2023-10-07T02:36:41Z")

</div>

Closed on October 7, 2023, 2:36am UTC

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