---
title: "License.Set Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Licensing_License_Set_1_bb3a7a4f.htm
product: "Graphics Mill"
---

# License.Set Method 
 
Registers a license key for the current copy of Graphics Mill.
 
**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 static void Set(string key
)
```
 
### Parameters
 
 - key
     - Type: System.String
A Graphics Mill license key.
   
## See Also

### Reference

- [License Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Licensing_License.htm.md)
- [Aurigma.GraphicsMill.Licensing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Licensing.htm.md)
