# ReadProductPropertiesFile

### Description

Reads a Product Properties file and validates its signature.

```csharp
IQlmProductProperties ReadProductProperties (string productPropertiesFileName, 
                                             out string errorMessage)
```

### Arguments

| Name                      | Data Type | Description                                  |
| ------------------------- | :-------: | -------------------------------------------- |
| productPropertiesFileName |   string  | the filename of the products properties file |
| errorMessage              |   string  | error message if the operation failed.       |

### Return

|                                    Data Type                                   | Description                                                          |
| :----------------------------------------------------------------------------: | -------------------------------------------------------------------- |
| [IQlmProductProperties](/docs/api-reference/.net-api/iqlmproductproperties.md) | an object that contains a collection of IQlmProductProperty objects. |

### Remarks

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

### Example

```c#
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));
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.soraco.co/docs/api-reference/.net-api/qlmlicense/client-side-methods/readproductpropertiesfile.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
