---
title: "Interface IAssetsClient"
slug: "sdk--stylelabs.m.sdk.clients.iassetsclient"
abstract: ""
---
# Interface IAssetsClient

Contains functionality for asset operations.

## Namespace: StylelabsStylelabs.MSdkClients

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public interface IAssetsClient
```

## Properties

### FinalLifeCycleManager

Gets the final life cycle manager.

#### Declaration

```csharp
IFinalLifeCycleManager FinalLifeCycleManager { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [IFinalLifeCycleManager](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.content.ifinallifecyclemanager.html) |  |

## Methods

### CreatePublicLinkAsync(long, string, DateTime?, string)

Creates a public link for the specified asset.

#### Declaration

```csharp
Task<long> CreatePublicLinkAsync(long assetId, string rendition, DateTime? expirationDate = null, string relativeUrl = null)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| long | assetId | The asset id. |
| string | rendition | The name of the rendition. |
| DateTime | expirationDate | The expiration date of the public link. |
| string | relativeUrl | The relative URL of the public link. |

#### Returns

| Type | Description |
| --- | --- |
| Task<>long | The id of the public link entity. |
