---
Product: psd
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/psd/net/layerresource
---

# LayerResource

## Overview

`LayerResource` is a class in Aspose.PSD FOSS for .NET.

Represents a PSD layer resource.

This class declares 1 method for LayerResource objects in .NET programs.
Available methods include: `Save`.
Public members are accessible to any .NET application after installing the Aspose.PSD FOSS for .NET package.
Properties: `Key`, `Length`, `PsbResourceSignature`, `PsdVersion`, `ResourceSignature`, `Signature`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Key` | `int` | Read | Gets the layer resource key. |
| `Length` | `int` | Read | Gets the layer resource length in bytes. |
| `PsdVersion` | `int` | Read | Gets the minimal PSD version required for the layer resource. |
| `Signature` | `int` | Read | Gets the layer resource signature. |
| `ResourceSignature` | `int` | Read | The common layer resource signature. |
| `PsbResourceSignature` | `int` | Read | The PSB-specific layer resource signature. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Save(streamContainer: StreamContainer, psdVersion: int)` | Saves the layer resource to the specified stream container. |

## See Also

- [Aspose.PSD for .NET — Enterprise API Reference](https://reference.aspose.com/psd/net/)