> ## Documentation Index
> Fetch the complete documentation index at: https://developer.onetrust.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Download the SDK

## Download Options

Once you have published the SDK, you can download the package for MAUI / .Net Native apps from the OneTrust application. This package contains a number of files you will need to extract in order to demo, test, and implement the SDK.

## Download the MAUI / .Net SDK from the OneTrust Tenant

1. Navigate to Mobile App Consent > Integration > SDKs.
2. Select an application from the list.
3. Select the **SDK** tab.
4. Select **Native SDK**, **Unity SDK**, or **MAUI SDK**.
5. Click the **Download SDK** button.

### What's in the Download Package?

| Folder                      | Contents                                                                                 |
| --------------------------- | ---------------------------------------------------------------------------------------- |
| OneTrust\_CMP\_DotNet7\_DLL | The DLL file to be imported into your .Net7 based project                                |
| OneTrust\_CMP\_DotNet8\_DLL | The DLL file to be imported into your .Net8 based project                                |
| MAUI-With-UI                | This folder contains the implementation of the .NetDLL with a XAML based user interface. |
| DotNet-Native\_With-UI      | This folder contains the implementation of the .NetDLL with native UI components.        |
| Apple Privacy Manifest      | Contains the Apple Privacy Manifest file.                                                |

> 📘
>
> **MAUI-With-UI** and **DotNet7-Native-With-UI** are Sample Projects to test and familiarize yourself with.
>
> **OneTrust\_CMP\_DotNet7\_DLL** and **OneTrust\_CMP\_DotNet8\_DLL** include the SDK's business logic and are used by both sample projects.

## Apple Privacy Manifest

To add the manifest file to your app, follow these steps:

### MAUI / .Net Native iOS

1. Copy the **PrivacyInfo.xcprivacy** file to the Platforms / iOS folder in your .NET MAUI project.
2. Open the **.NET MAUI csproj** project file and edit it.
3. Add the following elements to the bottom of the root element: `<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> <BundleResource Include="Platforms\iOS\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" /> </ItemGroup>`. This will package the file into the iOS app at the root of the bundle.

> 📘
>
> Once added to your project, the **PrivacyInfo.xcprivacy** file will need to be updated if there are any additional API usages from additional categories or additional reasons for usage.

## Download the Unity SDK from the OneTrust Tenant

1. Navigate to **Mobile App Consent > Integration > SDKs**.
2. Select an application from the list.
3. Select the **SDK** tab.
4. Select **Unity SDK**.
5. Click the **Download SDK** button.

### What's in the Download Package?

| File Name                        |
| -------------------------------- |
| OTSDK\_Unity2020LTS.unitypackage |
| OTSDK\_Unity2021LTS.unitypackage |