Click or drag to resize
InfoCheck Class
Implements the XmlLicenseService web service's InfoCheck method to retrieve and check license information.
Inheritance Hierarchy
SystemObject
  com.softwarekey.Client.WebServiceWebServiceCall
    com.softwarekey.Client.WebService.XmlLicenseServiceInfoCheck

Namespace: com.softwarekey.Client.WebService.XmlLicenseService
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.18.3.0
Syntax
public class InfoCheck : WebServiceCall

The InfoCheck type exposes the following members.

Constructors
  NameDescription
Public methodInfoCheck
Creates a new InfoCheck object.
Public methodInfoCheck(XmlLicenseService)
Creates a new InfoCheck object with a specified web service client (XmlLicenseService) object.
Top
Properties
  NameDescription
Public propertyAddress1
Gets the customer's street address (or line 1 of the customer's address).
Public propertyAddress2
Gets the customer's second address line (i.e. apartment or suite number).
Public propertyCity
Gets the city of the customer's address.
Public propertyClassName
Gets or sets the class name of the WebServiceClient object.
(Inherited from WebServiceCall.)
Public propertyCompany
Gets the customer's company name.
Public propertyCountry
Gets the country of the customer's address.
Public propertyCurrentVersion
Gets the Current Version of the License ID.
Public propertyCustomerID
Gets the Customer ID, which uniquely identifies the customer to which this License ID belongs.
Public propertyDownloadExpiration
Gets the date in which the license and/or download will expire.
Public propertyEmail
Gets the customer's email address.
Public propertyEncryptionKey
Gets or sets the author encryption key data.
(Inherited from WebServiceCall.)
Public propertyEnteredDate
Gets the date in which the license was created in SOLO Server.
Public propertyErrorMessage
Gets or sets the error message returned by the web service method call. (See http://www.softwarekey.com/go/?ID=20 for a list of possible values.)
(Inherited from WebServiceCall.)
Public propertyFax
Gets the customer's fax number.
Public propertyFirstName
Gets the customer's first name.
Public propertyInvoiceNo
Gets the Invoice Number for the License ID.
Public propertyIsTestLicense
Gets whether the license is a test license.
Public propertyLastError
Gets or sets the last error which occurred.
(Inherited from WebServiceCall.)
Public propertyLastName
Gets the customer's last name.
Public propertyLatestVersion
Gets the latest, free version available.
Public propertyLicenseCounter
Gets the License Counter field.
Public propertyLicenseeEmail
Gets the licensee's email address.
Public propertyLicenseeName
Gets the name of the licensee.
Public propertyLicenseID
Gets or sets the License ID.
Public propertyLicenseStatus
Gets the status of the SOLO Server License ID.
Public propertyLicenseUpdate
Gets the License Update data for the License ID.
Public propertyMethodName
Gets or sets the name of the method which will be called from the WebServiceClient object.
(Inherited from WebServiceCall.)
Public propertyOptionName
Gets the name of the Product Option.
Public propertyPassword
Gets or sets the password (optional). This may be set to the activation password assigned to the license, or the customer password, in SOLO Server.
Public propertyPhone
Gets the customer's phone number.
Public propertyPostalCode
Gets the customer's zip/postal code.
Public propertyProdOptionID
Gets the Product Option ID with which the License ID was created.
Public propertyProductID
Gets or sets the Product ID to which the License ID belongs (optional, recommended).
Public propertyProductName
Gets the product name in SOLO Server.
Public propertyQuantity
Gets the quantity ordered.
Public propertyRemainingActivations
Gets the number of activations remaining for this License ID.
Public propertyRemainingDeactivations
Gets the number of deactivations remaining for this License ID.
Public propertyReplacedBy
Gets the License ID of the license which has replaced this LicenseID (typically used to indicate the License ID of an upgrade license).
Public propertyRequireSsl
Gets or sets whether or not SSL certificate validation to check.
(Inherited from WebServiceCall.)
Public propertyResultCode
Gets or sets the result code returned by the web service method call. (See http://www.softwarekey.com/go/?ID=20 for a list of possible values.)
(Inherited from WebServiceCall.)
Public propertySessionCode
Gets or sets the randomized session code (used to deter replay attacks).
(Inherited from WebServiceCall.)
Public propertySessionCodeValidation
Gets or sets whether or not session code validation should be done automatically.
(Inherited from WebServiceCall.)
Public propertyStateProvince
Gets the state/province of the customer's address.
Public propertyTCFixedValue
Gets the Trigger Code Fixed Value (or "TC Fixed Value") parameter from the product option.
Public propertyUDefChar1
Gets the user-defined string field 1 (UDefChar1) data.
Public propertyUDefChar10
Gets the user-defined string field 10 (UDefChar10) data.
Public propertyUDefChar2
Gets the user-defined string field 2 (UDefChar2) data.
Public propertyUDefChar3
Gets the user-defined string field 3 (UDefChar3) data.
Public propertyUDefChar4
Gets the user-defined string field 4 (UDefChar4) data.
Public propertyUDefChar5
Gets the user-defined string field 5 (UDefChar5) data.
Public propertyUDefChar6
Gets the user-defined string field 6 (UDefChar6) data.
Public propertyUDefChar7
Gets the user-defined string field 7 (UDefChar7) data.
Public propertyUDefChar8
Gets the user-defined string field 8 (UDefChar8) data.
Public propertyUDefChar9
Gets the user-defined string field 9 (UDefChar9) data.
Public propertyUDefDate1
Gets the user-defined date-time field 1 (UDefDate1) data.
Public propertyUDefDate2
Gets the user-defined date-time field 2 (UDefDate2) data.
Public propertyUDefDate3
Gets the user-defined date-time field 3 (UDefDate3) data.
Public propertyUDefDate4
Gets the user-defined date-time field 4 (UDefDate4) data.
Public propertyUDefDate5
Gets the user-defined date-time field 5 (UDefDate5) data.
Public propertyUDefFloat1
Gets the user-defined float field 1 (UDefFloat1) data.
Public propertyUDefFloat2
Gets the user-defined float field 2 (UDefFloat2) data.
Public propertyUDefFloat3
Gets the user-defined float field 3 (UDefFloat3) data.
Public propertyUDefFloat4
Gets the user-defined float field 4 (UDefFloat4) data.
Public propertyUDefFloat5
Gets the user-defined float field 5 (UDefFloat5) data.
Public propertyUDefNum1
Gets the user-defined number field 1 (UDefNum1) data.
Public propertyUDefNum2
Gets the user-defined number field 2 (UDefNum2) data.
Public propertyUDefNum3
Gets the user-defined number field 3 (UDefNum3) data.
Public propertyUDefNum4
Gets the user-defined number field 4 (UDefNum4) data.
Public propertyUDefNum5
Gets the user-defined number field 5 (UDefNum5) data.
Public propertyUseDigitalSignature
Overrides the UseDigitalSignature property to reflect the fact that this web service method does not support digital signatures.
(Overrides WebServiceCallUseDigitalSignature.)
Public propertyUseEncryption
Overrides the UseEncryption property to reflect the fact that this web service method does not support encryption.
(Overrides WebServiceCallUseEncryption.)
Public propertyWebServiceClient
Gets or sets the SoapHttpClientProtocol object (.NET Framework) or the XmlWebService object (.NET Standard 2.0) used to perform the web service method call.
(Inherited from WebServiceCall.)
Public propertyWebServiceResponse
Gets or set the XmlNode object reference for the root XML node of the web service response.
(Inherited from WebServiceCall.)
Top
Methods
  NameDescription
Protected methodAppendSessionCode(String)
Appends the SessionCode value to an XML request string depending on the SessionCodeValidation setting, and returns the updated XML string
(Inherited from WebServiceCall.)
Protected methodAppendSessionCode(XmlDocument)
Appends the SessionCode value to an XmlDocument depending on the SessionCodeValidation setting, and returns the updated XML string
(Inherited from WebServiceCall.)
Public methodCallWebService
Calls the web service method.
(Inherited from WebServiceCall.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerateEncryptedRequest
Generates an encrypted web service call XML request string.
(Inherited from WebServiceCall.)
Public methodGeneratePlainTextRequest
Generates a plain-text XML request string for InfoCheck calls
(Overrides WebServiceCallGeneratePlainTextRequest.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodProcessResponse(String)
Processes a web service response XML string.
(Inherited from WebServiceCall.)
Public methodProcessResponse(XmlNode) (Overrides WebServiceCallProcessResponse(XmlNode).)
Public methodResetSessionCode
Sets the SessionCode value to a new, randomized value.
(Inherited from WebServiceCall.)
Public methodToString (Inherited from Object.)
Top
Remarks

The XmlLicenseService documentation should be referenced for the most current information.

Note Note

Before calling the CallWebService method, the LicenseID property must be set. The Password and ProductID properties may optionally be set before calling the CallWebService method for extra validation. Setting the Password field will also afford you access to additional data in the results, including customer registration data and user-defined data.

Examples
This example shows how to make a typical InfoCheck call:
public bool CheckLicenseInformation(int licenseID, string password, int productID)
{
    InfoCheck infoChecker = new InfoCheck();
    infoChecker.LicenseID = licenseID;
    infoChecker.Password = password;
    infoChecker.ProductID = productID;

    if (!infoChecker.CallWebService())
    {
        //TODO: check the LastError property and add error reporting here!
        return false;
    }

    //TODO: Add your custom logic here!

    return true;
}
See Also