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

# C# SDK

> Official C# SDK providing native .NET access to the API Dental platform with full type safety and IntelliSense support.

Our official C# SDK provides native .NET access to the API Dental platform with full type safety and IntelliSense support.

<CardGroup cols={2}>
  <Card icon="github" href="https://github.com/api-dental/api-dental-pro-csharp" title="GitHub Repository">
    View source code and contribute
  </Card>

  <Card icon="box" href="https://www.nuget.org/packages/APIDentalPro" title="NuGet Package">
    APIDentalPro on NuGet
  </Card>
</CardGroup>

## Installation

```bash theme={null}
dotnet add package APIDentalPro
```

## Client Configuration

```csharp theme={null}
using APIDentalPro;

APIDentalProClient client = new() { APIKey = "your-api-key" };
```

## Eligibility Request

```csharp theme={null}
using System;
using APIDentalPro;
using APIDentalPro.Models.Eligibility;

APIDentalProClient client = new();

EligibilityRequestParams parameters = new()
{
    Payer = new("52133"),
    Provider = new()
    {
        Npi = "1447364856",
        TaxID = "270872579",
    },
    Subscriber = new()
    {
        FirstName = "John",
        LastName = "Smith",
        MemberID = "123456789",
        GroupNumber = "GRP001",
        Dob = DateOnly.Parse("1990-01-15"),
    },
    Version = "v2",
};

var response = await client.Eligibility.Request(parameters);
```

## Available Methods

| Method | Description |
| - | - |
| `client.Eligibility.Request(params)` | Request eligibility verification |
| `client.ClearCoverage.Request(params)` | Request ClearCoverage verification |
| `client.Payer.List()` | List all supported payers |
