---
title: "Class TarArchiveStream | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Storage.TarArchive/TarArchiveStream/"
---

# Class TarArchiveStream

> **Inheritance:** `System.Object` -> `System.MarshalByRefObject` -> `System.IO.Stream` -> TarArchiveStream

###### **Namespace**: [Aurigma.DesignAtoms.Storage.TarArchive](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Storage.TarArchive.md)

###### **Assembly**: Aurigma.DesignAtoms.dll

```csharp title="Syntax"
public abstract class TarArchiveStream : Stream, IDisposable
```

## Implements

* `System.IDisposable`

## Inherited Members

* `System.IO.Stream.Null`
* `System.IO.Stream.CopyToAsync(System.IO.Stream)`
* `System.IO.Stream.CopyToAsync(System.IO.Stream,System.Int32)`
* `System.IO.Stream.CopyToAsync(System.IO.Stream,System.Int32,System.Threading.CancellationToken)`
* `System.IO.Stream.CopyTo(System.IO.Stream)`
* `System.IO.Stream.CopyTo(System.IO.Stream,System.Int32)`
* `System.IO.Stream.Dispose`
* `System.IO.Stream.Dispose(System.Boolean)`
* `System.IO.Stream.FlushAsync`
* `System.IO.Stream.FlushAsync(System.Threading.CancellationToken)`
* `System.IO.Stream.CreateWaitHandle`
* `System.IO.Stream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)`
* `System.IO.Stream.EndRead(System.IAsyncResult)`
* `System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32)`
* `System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)`
* `System.IO.Stream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)`
* `System.IO.Stream.EndWrite(System.IAsyncResult)`
* `System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32)`
* `System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)`
* `System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32)`
* `System.IO.Stream.ReadByte`
* `System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32)`
* `System.IO.Stream.WriteByte(System.Byte)`
* `System.IO.Stream.Synchronized(System.IO.Stream)`
* `System.IO.Stream.ObjectInvariant`
* `System.IO.Stream.CanRead`
* `System.IO.Stream.CanTimeout`
* `System.IO.Stream.CanWrite`
* `System.IO.Stream.Length`
* `System.IO.Stream.Position`
* `System.IO.Stream.ReadTimeout`
* `System.IO.Stream.WriteTimeout`
* `System.MarshalByRefObject.MemberwiseClone(System.Boolean)`
* `System.MarshalByRefObject.GetLifetimeService`
* `System.MarshalByRefObject.InitializeLifetimeService`
* `System.MarshalByRefObject.CreateObjRef(System.Type)`
* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### TarArchiveStream

```csharp
protected TarArchiveStream()
```

## Properties

### IsClosed

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

### CanSeek

```csharp
public override bool CanSeek { get; }
```

## Methods

### Flush

```csharp
public override void Flush()
```

##### Overrides

* `System.IO.Stream.Flush`

### Seek

```csharp
public override long Seek(long offset, SeekOrigin origin)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Int64` | *offset* |  |
| `System.IO.SeekOrigin` | *origin* |  |

##### Returns

`System.Int64`

##### Overrides

* `System.IO.Stream.Seek(System.Int64,System.IO.SeekOrigin)`

### SetLength

```csharp
public override void SetLength(long value)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Int64` | *value* |  |

##### Overrides

* `System.IO.Stream.SetLength(System.Int64)`

### Close

```csharp
public override void Close()
```

##### Overrides

* `System.IO.Stream.Close`
