---
title: ".NET MAUI SDK: Attachments"
description: "Attach files to feedback and customer conversations with the Gleap .NET MAUI SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/657-net-maui-sdk-attachments
collection: ".NET MAUI (Beta)"
updated: 2026-11-01
language: en
---

# .NET MAUI SDK: Attachments

Attach files to feedback and customer conversations with the Gleap .NET MAUI SDK. Follow the integration code examples.

Gleap allows you to attach files to feedback items. This enables you to include application-specific information that Gleap doesn't collect by default.

### Add attachments

Gleap offers the following method to attach files to your feedback items. Attachments are incremental — they are **not** removed after sending feedback (many customers requested this). If you need to start over fresh after each report, use the `RemoveAllAttachments` method.

```csharp
Gleap.AddAttachment(yourBase64File, "image.png");
```

> **Info:** The file size is limited to **1MB** per file, and the maximum file count is **6 files**. These limits make sure the user doesn't have to transfer too much data while sending feedback.

### Remove attachments

Use the following method to remove all attachments.

```csharp
Gleap.RemoveAllAttachments();
```

## Related

- [.NET MAUI SDK setup](https://docs.gleap.ai/en/articles/640-net-maui-sdk-setup.md)
- [.NET MAUI SDK: User identity](https://docs.gleap.ai/en/articles/641-net-maui-sdk-user-identity.md)
- [.NET MAUI SDK: Track events](https://docs.gleap.ai/en/articles/642-net-maui-sdk-track-events.md)
- [.NET MAUI SDK: Track pages](https://docs.gleap.ai/en/articles/643-net-maui-sdk-track-pages.md)
- [.NET MAUI SDK: Forms](https://docs.gleap.ai/en/articles/644-net-maui-sdk-forms.md)
