---
title: "LicenseKeySource Enumeration"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Licensing_LicenseKeySource.htm
product: "Graphics Mill"
---

# LicenseKeySource Enumeration
 
Contains possible sources from which a key can be read.
 
**Namespace:** [Aurigma.GraphicsMill.Licensing](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Licensing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public enum LicenseKeySource
```
 
## Members

 |  Member name |  Description |
| --- | --- |
 |  AppConfig |  Application configuration file. |
 |  EmbeddedIntoAssembly |  Assembly code. |
 |  EnvironmentVariable |  Environment variable (**GRAPHICSMILL\_LICENSE\_KEY**). |
 |  FromCode |  Set programmatically through [Set(String)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Licensing_License_Set_1_bb3a7a4f.htm.md). |
 |  LicFileInWebBin |  **lic** file of the Web root **bin** folder. |
 |  LicFileNearAssembly |  **lic** file in the same folder as the assembly. |
 |  None |  No key available. |
 |  Registry |  System registry. |
   
## See Also

### Reference

- [Aurigma.GraphicsMill.Licensing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Licensing.htm.md)
