Reads a Product Properties file and validates its signature. This function can also read a license file that contains a ProductProperties section.
C#: IQlmProductProperties ReadProductProperties (string productPropertiesFileName, out string errorMessage)
Parameters
productPropertiesFileName- the filename of the products properties file
errorMessage - an error message if the read fails.
Return
An IQlmProductProperties objects that contains a collection of IQlmProductProperty objects.
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));
}
Comments
0 comments
Please sign in to leave a comment.