# Does Fmod Studio api for UWP have a c# wrapper?

**URL:** https://qa.fmod.com/t/does-fmod-studio-api-for-uwp-have-a-c-wrapper/16008
**Category:** FMOD Engine
**Tags:** csharp
**Created:** [July 24, 2020, 10:49pm UTC](https://qa.fmod.com/t/does-fmod-studio-api-for-uwp-have-a-c-wrapper/16008 "2020-07-24T22:49:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![IceBearIsCoolestBear](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@IceBearIsCoolestBear](https://qa.fmod.com/u/IceBearIsCoolestBear)
#### Post date: [July 24, 2020, 10:49pm UTC](https://qa.fmod.com/t/does-fmod-studio-api-for-uwp-have-a-c-wrapper/16008/1 "2020-07-24T22:49:58Z")

</div>

I am attempting to get Fmod to work with Monogame in UWP, which uses C#, but in its api/studio/inc directory, I don’t see a C# wrapper like exists for the Windows version (fmod\_studio.cs). Has anyone used this wrapper with the UWP version before, or are there differences that prevent it from working? I’m trying to find out if I’m barking up the wrong tree before I dive into this - is this no longer the recommended way?

I’m new to Fmod and I haven’t worked with C++ in several years, (and almost all of the C# examples I find have to do with Unity) so I was using [ChaiFoxes.FMODAudio](https://github.com/Martenfur/ChaiFoxes.FMODAudio) to test things out. ChaiFoxes.FMODAudio is a high level wrapper around the existing C# wrapper, but it isn’t designed for UWP. Attempting to use the ChaiFoxes.FMODAudio windows wrapper _partially_ works, in that I can call initialize, but loading the audio causes a hard crash in unmanaged code.

So, does anyone know of any UWP C# related documents or tutorials, or has someone gotten this to work themselves? I have lots of C# experience, but I’m fairly lost after that, so if someone is able to point me in the right direction, that would be great. Right now I’m just slowly stepping through this, attempting to figure out why it’s dying.

Thanks!

---

<div class="post-metadata">

### Author: ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)
#### Post date: [July 28, 2020, 12:26am UTC](https://qa.fmod.com/t/does-fmod-studio-api-for-uwp-have-a-c-wrapper/16008/2 "2020-07-28T00:26:20Z")

</div>

I can’t speak for the ChaiFoxes wrapper, but the FMOD C# wrapper should work fine on UWP, we use it with Unity on UWP. It looks like an oversight that it was not included in the UWP package, feel free to grab it from the Windows package instead.

---

<div class="post-metadata">

### Author: ![IceBearIsCoolestBear](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@IceBearIsCoolestBear](https://qa.fmod.com/u/IceBearIsCoolestBear)
#### Post date: [July 28, 2020, 3:18pm UTC](https://qa.fmod.com/t/does-fmod-studio-api-for-uwp-have-a-c-wrapper/16008/3 "2020-07-28T15:18:08Z")

</div>

Thanks, great to know it should work with UWP too. That narrows down possible issues a lot.
