Click or drag to resize
MsiLicense Class
Provides license-related information.
Inheritance Hierarchy
SystemObject
  FDF.CommonMsiLicense

Namespace: FDF.Common
Assembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax
public class MsiLicense

The MsiLicense type exposes the following members.

Constructors
  NameDescription
Public methodMsiLicense
Initializes a new instance of the MsiLicense class
Top
Properties
  NameDescription
Public propertyDateExpires
Returns the date license expires. If license never expires, returns maximum date value.
Public propertyFilePath
Gets or sets license file path. If there's no license file path set, returns empty string.
Public propertyMaxUsers
Returns max. number of users.
Public propertyNumber
Returns package license key number.
Public propertySchema
Returns package licensing schema.
Public propertyServer
Returns IP address of the package licensing server.

IP address string is formatted in n.n.n.n manner. If licensing server IP address is not set (MsiLicenseType defaults to SingleUser) this property returns 0.0.0.0.

Licensing server IP address is subject to change outside of the package installation routine.
Public propertySubscriptionExpires
Returns the date subscription expires. If subscription never expires, returns maximum date value.
Public propertyType
Returns package licensing type.
Top
Methods
  NameDescription
Public methodIsLicensed(KeyFlag)
Returns True if package is licensed (given optional application module), otherwise returns False.
Public methodIsLicensed(String, KeyFlag)
Returns True if specified license file is licensed (given optional application module), otherwise returns False.
Top
Remarks
See Also