Method GetPrivateKeyXml
| Improve this Doc View SourceGetPrivateKeyXml(String)
Gets the private key XML string for the specified product.
Declaration
protected abstract string GetPrivateKeyXml(string product)
Parameters
Type | Name | Description |
---|---|---|
System.String | product | The specified product. |
Returns
Type | Description |
---|---|
System.String | The XML string of the private key. |
Remarks
The XML string of the private key, which was used to sign the assembly corresponding the product name, should be returned by the derived class. If wrong private key is returned, the signed license can not be validated.
The derived class can call PrivateKeyXmlFromSnkFile to get private key XML string from a .snk file or stream.