LicenceMetadata
Description
- Derived from
Represents licence metadata information.
Licence metadata information is gathered from these sources:
-
Windows App Development / VERSIONINFO resource
https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource
Public / Constructors
FromRequest
Creates a new instance of LicenceMetadata from the given licence request.
- IOException
-
If an I/O error has occurred.
- ValidatingException
-
If the contents of licenceRequest in are malformed.
- See also
Public / Methods
IsValidForDebug
Checks if the given licence metadata bindings will unlock DEBUG mode.
If no licence metadata bindings are present or if any of the following licence metadata bindings are present, unlocking a licence domain in DEBUG mode will not be possible:
- See also
NormalizeIn
Returns the normalized input metadata value for the given raw value.
This method will be called automatically. It is not necessary to normalize raw values before passing them to the LicenceMetadata class.
Public / Attributes
LegalCompany
The legal company name or '*'
for any, obtained from:
-
VERSIONINFO.CompanyName
-
System.Reflection.AssemblyCompanyAttribute
- See also
LegalCopyright
The legal copyright notice or '*'
for any, obtained from:
-
VERSIONINFO.LegalCopyright
-
System.Reflection.AssemblyCopyrightAttribute
- See also
LegalProduct
The legal product name or '*'
for any, obtained from:
-
VERSIONINFO.ProductName
-
System.Reflection.AssemblyProductAttribute
- See also
LegalTrademark
The legal trademark notice or '*'
for any, obtained from:
-
VERSIONINFO.LegalTrademarks
-
System.Reflection.AssemblyTrademarkAttribute
- See also
MachineCode
The machine hardware identifier or '*'
for any.
The machine hardware identifier is a digest of various machine-specific information. On the same machine, it may change under the following situations:
-
When running on different operating systems (for example Windows and Linux).
-
When adding or removing fixed drives, which includes fixed external drives (for example eSATA drives), but not including removable drives (for example USB sticks).
-
When changing the computer name, as it is exposed to the local network.
-
When adding or removing network interfaces.
-
When changing the CPU of the machine.
- See also
ProgramTitle
The program title or '*'
for any, obtained from:
-
VERSIONINFO.FileDescription
-
System.Reflection.AssemblyTitleAttribute
- See also