# streamedBytes

> How many bytes have we downloaded from the main unity web stream (Read Only).

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Deprecated.** Streaming was a Unity Web Player feature, and is removed. This property is deprecated and always returns 0.

```csharp
public static int streamedBytes { get; }
```

### Remarks

In the Web Player (obsolete now), this property returns the number of compressed bytes downloaded so far. It always returns zero.

Additional Resources: [Application.GetStreamProgressForLevel](/engine/6000.7/script-reference/unityengine/application/getstreamprogressforlevel.md) function.

```csharp
using UnityEngine;
using UnityEngine.UI;

class Example : MonoBehaviour
{
    Text byteDisplay;
    void Start()
    {
        byteDisplay = GetComponent<Text>();
    }

    // Prints to a Text UI how many bytes we have streamed.
    void Update()
    {
        byteDisplay.text = "Streamed Bytes: " + Application.streamedBytes.ToString();
    }
}
```

From Unity version 5.4.0 onwards, webplayer support was discontinued.
