# SignatureData.UniqueId Property

> Gets or sets the unique document identifier.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl.Web.MVC.DocumentViewer.Models`
- **Package:** `TXTextControl.Web.DocumentViewer` (assembly `TXTextControl.Web.MVC.DocumentViewer.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.Web.DocumentViewer.Classic` (assembly `TXTextControl.Web.MVC.DocumentViewer.dll`, from nuget.org)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC.DocumentViewer.Models > SignatureData.UniqueId Property
- **392 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-models/signaturedata/uniqueid-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-models/signaturedata/uniqueid-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-models/signaturedata/uniqueid-property/llms-full.txt

---

### Description

Gets or sets the unique document identifier.

### Syntax

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

```vbnet
Public Property UniqueId As String
```

### Examples

The following example configures `SignatureData.UniqueId` and checks the resulting web document component setting before it is used.

```csharp
signatureData.UniqueId = "Quarterly report";
if (!string.IsNullOrWhiteSpace(signatureData.UniqueId))
{
    Console.WriteLine($"Unique Id: {signatureData.UniqueId}");
}
```

```vbnet
signatureData.UniqueId = "Quarterly report"
If Not String.IsNullOrWhiteSpace(signatureData.UniqueId) Then
    Console.WriteLine($"Unique Id: {signatureData.UniqueId}")
End If
```

---

## Nearby

- **Previous:** [SignatureData.SignedDocument Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-models/signaturedata/signeddocument-property/llms-full.txt)
- **Next:** [SignatureDefinition Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-models/signaturedefinition/llms-full.txt)
