Sportradar.MTS.SDK.API Namespace
Sportradar.MTS.SDK.Common.Exceptions Namespace
Sportradar.MTS.SDK.Entities.Builders Namespace
Sportradar.MTS.SDK.Entities.EventArguments Namespace
Sportradar.MTS.SDK.Entities.Interfaces Namespace
Sportradar.MTS.SDK.Entities.Internal.REST Namespace
Sportradar MTS SDK .NET Standard 2.1, v2.3.3

MtsSdk..::..GetConfiguration Method

Constructs a ISdkConfiguration instance with information read from application configuration file

Namespace:  Sportradar.MTS.SDK.API
Assembly:  Sportradar.MTS.SDK (in Sportradar.MTS.SDK.dll)

Syntax


public static ISdkConfiguration GetConfiguration()

Return Value

A ISdkConfiguration instance read from application configuration file

Exceptions


ExceptionCondition
InvalidOperationExceptionThe configuration could not be loaded, or the requested section does not exist in the config file
ConfigurationErrorsExceptionThe section read from the configuration file is not valid