Environment.HasLicense Property
Tells if the product has a license.
Public ReadOnly Property HasLicense() As Boolean
This language is not supported or no code example is available.
public bool HasLicense {get;}
This language is not supported or no code example is available.
Property Value
bool
A boolean indicating whether the product has a license.
.NET Framework
Supported in: 4.5, 4.6, 4.7