> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.dialogue/yarn.dialogue.getheadervalue.md).

# GetHeaderValue(string,string)

Method in [Dialogue](/api/csharp/yarn/yarn.dialogue.md)

## Summary

Gets the value of the header named `headerName` on the node named `nodeName` , or `null` if the header can't be found.

```csharp
public string? GetHeaderValue(string nodeName, string headerName)
```

## Remarks

If the node has more than one header named `headerName` , the first one is used.

## Parameters

| Name                | Description             |
| ------------------- | ----------------------- |
| `string` nodeName   | The name of the node.   |
| `string` headerName | The name of the header. |

## Returns

The value of the first header on the node with the specified header value.
