MtsSdk..::..GetConfiguration Method
Constructs a ISdkConfiguration instance with information read from application configuration file
Namespace:
Sportradar.MTS.SDK.APIAssembly: Sportradar.MTS.SDK (in Sportradar.MTS.SDK.dll)
Syntax
public static ISdkConfiguration GetConfiguration()
Return Value
A ISdkConfiguration instance read from application configuration fileExceptions
Exception | Condition |
---|---|
InvalidOperationException | The configuration could not be loaded, or the requested section does not exist in the config file |
ConfigurationErrorsException | The section read from the configuration file is not valid |