---
title: "GridJsWorkbook.GetUidForFile"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridjs/gridjsworkbook/getuidforfile/"
product: "Aspose.Cells for .NET API Reference"
description: "GridJsWorkbook method. Generates a new unique id for the file cache using the given file name"
---

## GridJsWorkbook.GetUidForFile method

Generates a new unique id for the file cache using the given file name.

```csharp
public static string GetUidForFile(string fileName)
```

| Parameter | Type | Description |
| --- | --- | --- |
| fileName | String | The file name. |

### See Also

* class [GridJsWorkbook](../)
* namespace [Aspose.Cells.GridJs](../../../aspose.cells.gridjs/)
* assembly [Aspose.Cells.GridJs](../../../)


