SetAgentId method

Class: ConfigurationPlatform: ApppiumLanguage: C# SDK:

Use this method to set the name and version of the SDK.

Syntax


 IConfiguration  configval = config.SetAgentId(value);

Parameters

value
Type:string
The agent id to be configured.

Return value

Type: IConfiguration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.