---
title: "Interface IUploadSource"
slug: "web-sdk--stylelabs.m.sdk.webclient.contracts.upload.iuploadsource"
abstract: ""
---
# Interface IUploadSource

Provides access to a file that will be uploaded to Content Hub.

## Namespace: StylelabsStylelabs.MSdkWebClientContractsUpload

## Assembly: Stylelabs.M.Sdk.WebClient.dll

## Syntax

```csharp
public interface IUploadSource
```

## Properties

### Name

Gets the name of the file.

#### Declaration

```csharp
string Name { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| string |  |

## Methods

### GetStreamAsync()

Gets a to access the underlying source.

#### Declaration

```csharp
Task<Stream> GetStreamAsync()
```

#### Returns

| Type | Description |
| --- | --- |
| Task<>Stream | A . |
