---
title: "License Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Licensing_License.htm
product: "Graphics Mill"
---

# License Class
 
Contains properties providing information about the registered license.
 
**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 sealed class License : License, IDisposable
```
 
## Remarks
  
Read this class properties to get the license information concerning your Graphics Mill assembly.
 
This class is accessible via the static property License.Current.
 
## Examples
  
```csharp
var license = Aurigma.GraphicsMill.Configuration.License;
if (license.IsTrial)
{
    Console.WriteLine("Evaluation period expires on " + license.ExpirationDate.ToString());
}
else
{
    Console.WriteLine("Maintenance period expires on " + license.MaintenanceExpirationDate.ToString());
}
```
 
## Inheritance Hierarchy
  
- System.Object
    - System.ComponentModel.License
        - Aurigma.GraphicsMill.Licensing.License
 
## Thread Safety
 Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [License Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Licensing_License.htm.md)
- [Aurigma.GraphicsMill.Licensing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Licensing.htm.md)

### Manual

- [Registering Production License Keys](https://www.graphicsmill.com/docs/gm/registering-production-license-keys.htm.md)
