---
title: "Graphics Mill Configuration"
canonical: https://www.graphicsmill.com/docs/gm/graphics-mill-configuration.htm
product: "Graphics Mill"
---

# Graphics Mill Configuration
 
You can configure the settings of the application in the `App.config` file. This file is in the root folder of the application. You can also set the same parameters in code.
 
**Important** 
The .NET 9 build of Graphics Mill does not read `App.config`. If your project targets .NET 9 or higher, set the parameters in code. See [Using Graphics Mill in .NET projects](https://www.graphicsmill.com/docs/gm/using-graphics-mill-in-dotnet-projects.htm.md) for details.
 
## Application Settings
  
The following snippet shows available parameters of the Graphics Mill application, which you can set up in `App.config` with their default values.
 
```xml
<configuration><appSettings>	<add key="GraphicsMillTempPath" value="C:\gm_temp" />	<add key="GraphicsMillLicenseKey" value="" />	<add key="GraphicsMillEnableTelemetry" value="true" /></appSettings>
</configuration>
```
 
Let's look at these parameters in more detail.
 
|  Name |  Description |  Possible values |
| --- | --- | --- |
   |  GraphicsMillTempPath |  The path to the temporary folder used by Graphics Mill. The default value is `"C:\gm_temp"`. This can also be set in code using `Aurigma.GraphicsMill.Configuration.TempPath`. |  folder path |
 |  GraphicsMillLicenseKey |  The license key for Graphics Mill. For example, `"80FF0-112E8-123B6-81238-94D4C-FE0123"`. This can also be set in code using `Aurigma.GraphicsMill.Licensing.License.Set`. |  string |
 |  GraphicsMillEnableTelemetry |  Enables or disables telemetry data collection. Telemetry includes runtime counters of feature usage (e.g., how many times you use specific functions). This setting applies only to **developer** and **floating** license keys. Other key types do not send any data. The default value is `"true"`. This can also be set in code using `Aurigma.GraphicsMill.Configuration.IsTelemetryEnabled`. |  `"true"` (enabled) / `"false"` (disabled) |
 
## Code Configuration
  
In addition to configuring settings in the `App.config` file, you can also set these parameters directly in your code. This is the only way to set them in the .NET 9 build.
 
- **TempPath**: Set the temporary path by assigning a value to [Configuration.TempPath](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Configuration_TempPath.htm.md). The folder must exist. 
```csharp
    Aurigma.GraphicsMill.Configuration.TempPath = @"C:\custom_temp";
    ```
- **License**: Set the license key by calling [License.Set(String)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Licensing_License_Set_1_bb3a7a4f.htm.md). 
```csharp
    Aurigma.GraphicsMill.Licensing.License.Set("your-license-key-here");
    ```
- **IsTelemetryEnabled**: Enable or disable telemetry by assigning a boolean value to [Configuration.IsTelemetryEnabled](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Configuration_IsTelemetryEnabled.htm.md). 
```csharp
    Aurigma.GraphicsMill.Configuration.IsTelemetryEnabled = false;
    ```
