---
title: "Interface ICultureClient"
slug: "sdk--stylelabs.m.sdk.clients.icultureclient"
abstract: ""
---
# Interface ICultureClient

Allows fetching culture information from M.

## Namespace: StylelabsStylelabs.MSdkClients

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public interface ICultureClient
```

## Methods

### GetAllCulturesAsync()

Gets all installed cultures in M.

#### Declaration

```csharp
Task<IList<CultureInfo>> GetAllCulturesAsync()
```

#### Returns

| Type | Description |
| --- | --- |
| Task<>IList<>CultureInfo | All installed cultures. |

### GetAllCulturesCachedAsync()

Gets all cached installed cultures in M.

#### Declaration

```csharp
Task<IList<CultureInfo>> GetAllCulturesCachedAsync()
```

#### Returns

| Type | Description |
| --- | --- |
| Task<>IList<>CultureInfo | All cached installed cultures. |

### GetDefaultCultureAsync()

Gets the default culture in M.

#### Declaration

```csharp
Task<CultureInfo> GetDefaultCultureAsync()
```

#### Returns

| Type | Description |
| --- | --- |
| Task<>CultureInfo | The default culture. |

### GetDefaultCultureCachedAsync()

Gets the cached default culture in M.

#### Declaration

```csharp
Task<CultureInfo> GetDefaultCultureCachedAsync()
```

#### Returns

| Type | Description |
| --- | --- |
| Task<>CultureInfo | The default culture. |
