Show / Hide Table of Contents

Method GetPrivateKeyXml

| Improve this Doc View Source

GetPrivateKeyXml(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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest