Click or drag to resize
MsiLicense Properties

The MsiLicense type exposes the following members.

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
See Also