Class: ConfigurationPlatform: ImagesLanguage: C# SDK:
Use this method to set your Eyes license key.
To obtain your API key, see How to obtain your API key.
IConfiguration configval = config.SetApiKey(value); config.ApiKey = configval; = config.ApiKey;
Note that this feature is available as both a method and a property.
- A string that is your API Key.
- Type: IConfiguration
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXXmethods of the Configuration class.
Set this immediately after the Eyes object is created (before calling Open). If you have an environment variable called APPLITOOLS_API_KEY that is set to the value of your API key, then you do not need to call this method, and Eyes will take the string from the environment value.