Skip to main content

Component Plug-In SDK 2026 R1

Method GetClient

Last update: 19.06.2026

Namespace: 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.

public static Task<IHarnessRunnerClient> GetClient()

Returns

Task<IHarnessRunnerClient>

A task that upon completion returns a new IHarnessRunnerClient object.

Connect with Ansys