> ## 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.

# SuperOffice.WebApi.Agents.IAgentBase

# <a id="SuperOffice_WebApi_Agents_IAgentBase" /> Interface IAgentBase

Namespace: [SuperOffice.WebApi.Agents](SuperOffice.WebApi.Agents.md)\
Assembly: SuperOffice.WebApi.dll

Base interface for interacting with SuperOffice WebApi agents.

```csharp theme={null}
public interface IAgentBase : IDisposable
```

#### Implements

[IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

## Properties

### <a id="SuperOffice_WebApi_Agents_IAgentBase_Configuration" /> Configuration

Configuration the agent was initialized with.

```csharp theme={null}
WebApiOptions Configuration { get; }
```

#### Property Value

[WebApiOptions](SuperOffice.WebApi.WebApiOptions.md)

### <a id="SuperOffice_WebApi_Agents_IAgentBase_HasRunningRequest" /> HasRunningRequest

Is a request in flight?

```csharp theme={null}
bool HasRunningRequest { get; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Agents_IAgentBase_ProgressListener" /> ProgressListener

Progress callback receiver for downloads.

```csharp theme={null}
IProgressListener ProgressListener { get; set; }
```

#### Property Value

[IProgressListener](SuperOffice.WebApi.IProgressListener.md)

### <a id="SuperOffice_WebApi_Agents_IAgentBase_UploadProgressListener" /> UploadProgressListener

Progress callback receiver for uploads.

```csharp theme={null}
IProgressListener UploadProgressListener { get; set; }
```

#### Property Value

[IProgressListener](SuperOffice.WebApi.IProgressListener.md)

## Methods

### <a id="SuperOffice_WebApi_Agents_IAgentBase_CancelRequest" /> CancelRequest()

Terminate any current method call.

```csharp theme={null}
void CancelRequest()
```


## Related topics

- [SuperOffice.WebApi.Agents.AgentBase](/en/api/reference/webapi/SuperOffice.WebApi.Agents.AgentBase.md)
- [SuperOffice.WebApi.Agents.IBLOBAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IBLOBAgent.md)
- [SuperOffice.WebApi.Agents.IMDOAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IMDOAgent.md)
- [SuperOffice.WebApi.Agents.IAIAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IAIAgent.md)
- [SuperOffice.WebApi.Agents.AIAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.AIAgent.md)
- [SuperOffice.WebApi.Agents.BLOBAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.BLOBAgent.md)
