# Interface IUploadSessionData (1.73.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.73.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Upload.IUploadSessionData)
- [1.69.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.69.0/Google.Apis.Upload.IUploadSessionData)
- [1.68.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Upload.IUploadSessionData)
- [1.60.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Upload.IUploadSessionData)
- [1.59.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Upload.IUploadSessionData)
- [1.55.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Upload.IUploadSessionData)
- [1.50.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Upload.IUploadSessionData)

    public interface IUploadSessionData

Interface IUploadSessionData: Provides UploadUri for client to persist. Allows resuming an upload after a program restart for seekable ContentStreams.

## Namespace

[Google.Apis.Upload](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Upload)

## Assembly

Google.Apis.dll

## Remarks

Defines the data passed from the ResumeableUpload class upon initiation of an upload.
When the client application adds an event handler for the UploadSessionData event, the data
defined in this interface (currently the UploadURI) is passed as a parameter to the event handler procedure.
An event handler for the UploadSessionData event is only required if the application will support resuming the
upload after a program restart.

## Properties

### UploadUri

    Uri UploadUri { get; }

The resumable session URI (UploadUri)

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.uri` |   |

## Extension Method

[Utilities.ThrowIfNull\<T\>(T, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)