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

# Interface IHarnessRunnerHost

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

The host object passed to harnesses to give them context for their run.

```csharp theme={null}
public interface IHarnessRunnerHost : ILicenseProvider, IDisposable

```

#### Implements

[ILicenseProvider](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI.ILicenseProvider),
[IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

## Properties

[ComponentDirectory](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI.IHarnessRunnerHost.ComponentDirectory.md)

This property contains the directory where the pacz is extracted to.

[ExtractedPacz](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI.IHarnessRunnerHost.ExtractedPacz.md)

This property contains the IPacz object for the current harness. The
plug-in is not responsible for disposing the returned object.

[Logger](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI.IHarnessRunnerHost.Logger.md)

Get a logger to use when writing messages.

[Metadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI.IHarnessRunnerHost.Metadata.md)

Arbitrary metadata about the context can be stored here. Some well known keys
will be put here include:

* TODO: Lookup what MCD and MCRE provide by default to consider what we want going forward.

[RunDirectory](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI.IHarnessRunnerHost.RunDirectory.md)

This property contains the directory used for running for the component. The behavior of
this field is controlled by Phoenix.PaczAPI.IComponentConfig.RunFolderPreference. If
set to PerRun this will be a new temporary folder on each call to run the harness. If set
to PerProcess, it will be a new temporary folder for each instance.

## Methods

[UpdateDebugData(Dictionary\<string, string>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI.IHarnessRunnerHost.UpdateDebugData.md#updatedebugdata-dictionary\<string-string>)

Plug-in implementations may supply custom debugging data for the debugging UI by calling this method.

To add debug information to display to the user, supply a string-to-string map
where keys are a display label for the value.
The keys supplied become "permanent." You may remove a key from the debug display
by passing the key in question with a null value.

Note that the host application may not display debugging data until a run is requested.
