ReadProductPropertiesFile

Description

Reads a Product Properties file and validates its signature.

IQlmProductProperties ReadProductProperties (string productPropertiesFileName, 
                                             out string errorMessage)

Arguments

NameData TypeDescription

productPropertiesFileName

string

the filename of the products properties file

errorMessage

string

error message if the operation failed.

Return

Data TypeDescription

an object that contains a collection of IQlmProductProperty objects.

Remarks

This function can also read a license file that contains a ProductProperties section.

Example

IQlmProductProperties pps = license.ReadProductPropertiesFile ("pps.xml", out errorMessage)

foreach (QlmProductProperty pp in pps.Properties)
{
    Console.WriteLine(String.Format("Property: {0}, Value: {1}", pp.ToString(), pp.PropValue));
}

Last updated