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

# Method GetClient

Namespace: [Phoenix.ComponentClient](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentClient)\
Assembly: Phoenix.ComponentClient.dll

## GetClient()

Retrieve a new instance of IHarnessRunnerClient. It will be pre-initialized and ready
to do work. If you use this method, you do not need to call ConfigureServiceCollection or
ConfigureWithDefaultRepositories.

```csharp theme={null}
public static Task<IHarnessRunnerClient> GetClient()

```

### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)\<[IHarnessRunnerClient](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessRunnerClient)>

A task that upon completion returns a new IHarnessRunnerClient object.
