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

# Windows Desktop SDK: Attachments

Attach files to feedback and customer conversations with the Gleap Windows Desktop 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

- [Windows Desktop SDK setup](https://docs.gleap.ai/en/articles/616-windows-desktop-sdk-setup.md)
- [Windows Desktop SDK: User identity](https://docs.gleap.ai/en/articles/617-windows-desktop-sdk-user-identity.md)
- [Windows Desktop SDK: Track events](https://docs.gleap.ai/en/articles/618-windows-desktop-sdk-track-events.md)
- [Windows Desktop SDK: Track pages](https://docs.gleap.ai/en/articles/619-windows-desktop-sdk-track-pages.md)
- [Windows Desktop SDK: Forms](https://docs.gleap.ai/en/articles/620-windows-desktop-sdk-forms.md)
