Class LicenseChecker
Provides a simple API for external applications to query for the existence of a Trados Studio license.
Inheritance
Object
LicenseChecker
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.TranslationStudioAutomation.Licensing
Assembly: Sdl.TranslationStudioAutomation.Licensing.dll
Syntax
public static class LicenseChecker
Properties
CurrentEdition
Returns the currently licensed Studio edition. The product may have a time limited or trial license, but they are always based on a standard Studio edition. So for example the standard 30 day trial that ships with Studio is a Professional edition license, and so Professional would be returned here.
Declaration
public static StudioEdition CurrentEdition { get; }
Property Value
Type | Description |
---|---|
StudioEdition |
IsLicensed
Returns true if the machine has a valid Trados Studio license. This can be any edition of Studio, including an unexpired trial.
Declaration
public static bool IsLicensed { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
IsFeatureLicensed(StudioFeature)
Returns True if Studio is licensed and the license supports a particular feature
Declaration
public static bool IsFeatureLicensed(StudioFeature studioFeature)
Parameters
Type | Name | Description |
---|---|---|
StudioFeature | studioFeature | The feature being tested for a valid license |
Returns
Type | Description |
---|---|
Boolean | True if this feature is licensed |