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

## 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.Imaging.Sources](../../streamsource/)
* assembly [Aspose.Imaging](../../../)


