# Class GrpcNetClientAdapter (4.10.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [4.10.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.GrpcNetClientAdapter)
- [4.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.8.0/Google.Api.Gax.Grpc.GrpcNetClientAdapter)
- [4.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.4.0/Google.Api.Gax.Grpc.GrpcNetClientAdapter)
- [4.3.1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.3.1/Google.Api.Gax.Grpc.GrpcNetClientAdapter)
- [4.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.2.0/Google.Api.Gax.Grpc.GrpcNetClientAdapter)
- [4.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.0.0/Google.Api.Gax.Grpc.GrpcNetClientAdapter)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/3.2.0/Google.Api.Gax.Grpc.GrpcNetClientAdapter)

    public sealed class GrpcNetClientAdapter : GrpcAdapter

Implementation of [GrpcAdapter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.GrpcAdapter) for Grpc.Net.Client.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [GrpcAdapter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.GrpcAdapter) \> GrpcNetClientAdapter

## Inherited Members

[GrpcAdapter.GetFallbackAdapter(ServiceMetadata)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.GrpcAdapter#Google_Api_Gax_Grpc_GrpcAdapter_GetFallbackAdapter_Google_Api_Gax_Grpc_ServiceMetadata_) [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Api.Gax.Grpc](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc)

## Assembly

Google.Api.Gax.Grpc.dll

## Properties

### Default

    public static GrpcNetClientAdapter Default { get; }

Returns the default instance of this class.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.GrpcNetClientAdapter` |   |

## Methods

### WithAdditionalOptions(Action\<GrpcChannelOptions\>)

    public GrpcNetClientAdapter WithAdditionalOptions(Action<GrpcChannelOptions> configure)

Returns a new instance based on this one, but with the additional options configurer specified.
The options configurer is called after creating the [GrpcChannelOptions](https://github.com/grpc/grpc-dotnet/blob/7c43ddb5d68008782dc0dba2d0feaa3ed91a9fb2/src/Grpc.Net.Client/GrpcChannelOptions.cs) from
other settings, but before creating the [GrpcChannel](https://github.com/grpc/grpc-dotnet/blob/7c43ddb5d68008782dc0dba2d0feaa3ed91a9fb2/src/Grpc.Net.Client/GrpcChannel.cs).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configure` | `https://learn.microsoft.com/dotnet/api/system.action-1https://github.com/grpc/grpc-dotnet/blob/7c43ddb5d68008782dc0dba2d0feaa3ed91a9fb2/src/Grpc.Net.Client/GrpcChannelOptions.cs` An optional configuration delegate to apply to instances of [GrpcChannelOptions](https://github.com/grpc/grpc-dotnet/blob/7c43ddb5d68008782dc0dba2d0feaa3ed91a9fb2/src/Grpc.Net.Client/GrpcChannelOptions.cs) before they are provided to a [GrpcChannel](https://github.com/grpc/grpc-dotnet/blob/7c43ddb5d68008782dc0dba2d0feaa3ed91a9fb2/src/Grpc.Net.Client/GrpcChannel.cs), after any configuration applied by this adapter. May be null, in which case a new instance is returned but with the same option configurer as this one. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.GrpcNetClientAdapter` | A new adapter based on this one, but with an additional channel options configuration action. |