---
title: "The UserAgent method"
slug: "the-useragent-method"
abstract: "Overview of the UserAgent method and properties."
---
# The UserAgent method

To define the interaction userAgent, use the `UserAgent()` method.

| Property | Details |
| --- | --- |
| UT SDK method | `UserAgent(string)` |
| Required/optional | Optional |
| Multiple invocations | Multiple invocations are forbidden and cause an *InvalidOperationException* exception |
| Value validation | Must contain at least one symbol besides whitespace characters |