Show / Hide Table of Contents

Method GetLicense

| Improve this Doc View Source

GetLicense(String, Version, LicenseKey, String, String, String, String, String)

Gets License from LicensePublisher using current thread's culture.

Declaration
public LicensePublisherResponse GetLicense(string product, Version version, LicenseKey licenseKey, string category, string name, string company, string email, string data)
Parameters
Type Name Description
System.String product

The product name.

System.Version version

The product version.

LicenseKey licenseKey

The license key.

System.String category

The license category.

System.String name

The user name.

System.String company

The user company.

System.String email

The user email address.

System.String data

The data to set in the license.

Returns
Type Description
LicensePublisherResponse

The response from LicensePublisher which encapsulates a License object or an error message.

| Improve this Doc View Source

GetLicense(CultureInfo, String, Version, LicenseKey, String, String, String, String, String)

Gets License from LicensePublisher using specified culture.

Declaration
public LicensePublisherResponse GetLicense(CultureInfo cultureInfo, string product, Version version, LicenseKey licenseKey, string category, string name, string company, string email, string data)
Parameters
Type Name Description
System.Globalization.CultureInfo cultureInfo

The specified culture information.

System.String product

The product name.

System.Version version

The product version.

LicenseKey licenseKey

The license key.

System.String category

The license category.

System.String name

The user name.

System.String company

The user company.

System.String email

The user email address.

System.String data

The data to set in the license.

Returns
Type Description
LicensePublisherResponse

The response from LicensePublisher which encapsulates a License object or an error message.

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