---
title: "FileSystemResourceHandler.HandleResource"
url: "https://reference.aspose.com/html/net/aspose.html.saving.resourcehandlers/filesystemresourcehandler/handleresource/"
product: "Aspose.HTML for .NET API Reference"
description: "FileSystemResourceHandler HandleResource method. This method is responsible for handling the resource. In it you can save the Resource to the stream or embed it into the parent resource"
---

## FileSystemResourceHandler.HandleResource method

This method is responsible for handling the resource. In it you can save the [`Resource`](../../../aspose.html.saving/resource/) to the stream or embed it into the parent resource.

```csharp
public override void HandleResource(Resource resource, ResourceHandlingContext context)
```

| Parameter | Type | Description |
| --- | --- | --- |
| resource | Resource | The [`Resource`](../../../aspose.html.saving/resource/) which will be handled. |
| context | ResourceHandlingContext | Resource handling context. |

### See Also

* class [Resource](../../../aspose.html.saving/resource/)
* class [ResourceHandlingContext](../../../aspose.html.saving/resourcehandlingcontext/)
* class [FileSystemResourceHandler](../)
* namespace [Aspose.Html.Saving.ResourceHandlers](../../../aspose.html.saving.resourcehandlers/)
* assembly [Aspose.HTML](../../../)
