---
title: "StreamSource.DisposeStream"
url: "https://reference.aspose.com/psd/net/aspose.psd.sources/streamsource/disposestream/"
product: "Aspose.PSD for .NET API Reference"
description: "StreamSource property. Gets a value indicating whether stream should be disposed whenever container gets disposed"
---

{{< psd/tize >}}
## StreamSource.DisposeStream property

Gets a value indicating whether stream should be disposed whenever container gets disposed.

```csharp
public bool DisposeStream { get; }
```

### Property Value

`true` if stream should be disposed; otherwise, `false`.

### See Also

* class [StreamSource](../)
* namespace [Aspose.PSD.Sources](../../../aspose.psd.sources/)
* assembly [Aspose.PSD](../../../)


