> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSProviderInfo

> Information about a provider plugin.

Information about a provider plugin.

## Constructors

### NSProviderInfo()

```crmscript theme={null}
NSProviderInfo
```

Initializes a new instance of the NSProviderInfo class.

## Methods

## GetName()

```crmscript theme={null}
String GetName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Unique name of the provider plugin.

**Example:**

```crmscript theme={null}
NSProviderInfo thing;
String name = thing.GetName();
```

## GetSupportedMessagingFormats()

```crmscript theme={null}
String[] GetSupportedMessagingFormats()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)\[] - This value can typically be "sms/160", "sms/mms", "smtp/rfc822"

**Example:**

```crmscript theme={null}
NSProviderInfo thing;
String[] supportedMessagingFormats = thing.GetSupportedMessagingFormats();
```

## GetSupportsConfig()

```crmscript theme={null}
Bool GetSupportsConfig()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - True if it supports the config parameters to the sending methods.

**Example:**

```crmscript theme={null}
NSProviderInfo thing;
Bool supportsConfig = thing.GetSupportsConfig();
```

## SetName(String)

```crmscript theme={null}
Void SetName(String name)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSProviderInfo thing;
String name;
thing.SetName(name);
```

## SetSupportedMessagingFormats(String\[])

```crmscript theme={null}
Void SetSupportedMessagingFormats(String[] supportedMessagingFormats)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSProviderInfo thing;
String[] supportedMessagingFormats;
thing.SetSupportedMessagingFormats(supportedMessagingFormats);
```

## SetSupportsConfig(Bool)

```crmscript theme={null}
Void SetSupportsConfig(Bool supportsConfig)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSProviderInfo thing;
Bool supportsConfig;
thing.SetSupportsConfig(supportsConfig);
```


## Related topics

- [NSMessagingAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSMessagingAgent.md)
- [SuperOffice.WebApi.Data.ProviderInfo](/en/api/reference/webapi/SuperOffice.WebApi.Data.ProviderInfo.md)
- [Address Provider](/en/api/plugins/quote-connectors/addresses.md)
- [Product search provider](/en/api/plugins/quote-connectors/find-product.md)
- [Add Tickets To Favourites By Provider](/en/api/reference/restful/agent/favourite_agent/add-tickets-to-favourites-by-provider.md)
- [How to perform an archive provider query](/en/api/archive-providers/how-to-query.md)
