# Trial expired detection in a vision component ? in a gw mod?

**URL:** <https://forum.inductiveautomation.com/t/trial-expired-detection-in-a-vision-component-in-a-gw-mod/6584>\
**Category:** Module Development\
**Created:** [May 25, 2013, 5:54pm UTC](https://forum.inductiveautomation.com/t/trial-expired-detection-in-a-vision-component-in-a-gw-mod/6584 "2013-05-25T17:54:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 25, 2013, 5:54pm UTC](https://forum.inductiveautomation.com/t/trial-expired-detection-in-a-vision-component-in-a-gw-mod/6584/1 "2013-05-25T17:54:38Z")

</div>

How detect Trial expired in a vision component ?  
in a gateway module ?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 28, 2013, 3:34pm UTC](https://forum.inductiveautomation.com/t/trial-expired-detection-in-a-vision-component-in-a-gw-mod/6584/2 "2013-05-28T15:34:37Z")

</div>

GatewayContext has a #getLicenseManager() call that you can then use #getLicenseState() on.  
ClientContext has a #getLicenseState() call on it directly.
