## ReadAsString() {#readasstring}

Serialize the HTTP content and return a string that represents the content.

```csharp
public string ReadAsString()
```

### Return Value

Serialized string that represents the content

### See Also

* class [Content](../)
* namespace [Aspose.Html.Net](../../../aspose.html.net/)
* assembly [Aspose.HTML](../../../)

---

## ReadAsString(*CancellationToken*) {#readasstring_1}

Serialize the HTTP content and return a string that represents the content.

```csharp
public string ReadAsString(CancellationToken cancellationToken)
```

| Parameter | Type | Description |
| --- | --- | --- |
| cancellationToken | CancellationToken | The cancellation token. |

### Return Value

Serialized string that represents the content

### See Also

* class [Content](../)
* namespace [Aspose.Html.Net](../../../aspose.html.net/)
* assembly [Aspose.HTML](../../../)
