---
title: "Attachment.UniqueId"
url: "https://reference.aspose.com/email/net/aspose.email/attachment/uniqueid/"
product: "Aspose.Email for .NET API Reference"
description: "Attachment property. Gets or sets a unique identifier for the attachment that will be constant for each application run"
---

## Attachment.UniqueId property

Gets or sets a unique identifier for the attachment that will be constant for each application run.

```csharp
public string UniqueId { get; }
```

### See Also

* class [Attachment](../)
* namespace [Aspose.Email](../../attachment/)
* assembly [Aspose.Email](../../../)


