InfoCheck Class |
Namespace: com.softwarekey.Client.WebService.XmlLicenseService
The InfoCheck type exposes the following members.
Name | Description | |
---|---|---|
![]() | InfoCheck | Creates a new InfoCheck object. |
![]() | InfoCheck(XmlLicenseService) | Creates a new InfoCheck object with a specified web service client (XmlLicenseService) object. |
Name | Description | |
---|---|---|
![]() | Address1 | Gets the customer's street address (or line 1 of the customer's address). |
![]() | Address2 | Gets the customer's second address line (i.e. apartment or suite number). |
![]() | City | Gets the city of the customer's address. |
![]() | ClassName | Gets or sets the class name of the WebServiceClient object. (Inherited from WebServiceCall.) |
![]() | Company | Gets the customer's company name. |
![]() | Country | Gets the country of the customer's address. |
![]() | CurrentVersion | Gets the Current Version of the License ID. |
![]() | CustomerID | Gets the Customer ID, which uniquely identifies the customer to which this License ID belongs. |
![]() | DownloadExpiration | Gets the date in which the license and/or download will expire. |
![]() | Gets the customer's email address. | |
![]() | EncryptionKey | Gets or sets the author encryption key data. (Inherited from WebServiceCall.) |
![]() | EnteredDate | Gets the date in which the license was created in SOLO Server. |
![]() | ErrorMessage | 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.) |
![]() | Fax | Gets the customer's fax number. |
![]() | FirstName | Gets the customer's first name. |
![]() | InvoiceNo | Gets the Invoice Number for the License ID. |
![]() | IsTestLicense | Gets whether the license is a test license. |
![]() | LastError | Gets or sets the last error which occurred. (Inherited from WebServiceCall.) |
![]() | LastName | Gets the customer's last name. |
![]() | LatestVersion | Gets the latest, free version available. |
![]() | LicenseCounter | Gets the License Counter field. |
![]() | LicenseeEmail | Gets the licensee's email address. |
![]() | LicenseeName | Gets the name of the licensee. |
![]() | LicenseID | Gets or sets the License ID. |
![]() | LicenseStatus | Gets the status of the SOLO Server License ID. |
![]() | LicenseUpdate | Gets the License Update data for the License ID. |
![]() | MethodName | Gets or sets the name of the method which will be called from the WebServiceClient object. (Inherited from WebServiceCall.) |
![]() | OptionName | Gets the name of the Product Option. |
![]() | Password | 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. |
![]() | Phone | Gets the customer's phone number. |
![]() | PostalCode | Gets the customer's zip/postal code. |
![]() | ProdOptionID | Gets the Product Option ID with which the License ID was created. |
![]() | ProductID | Gets or sets the Product ID to which the License ID belongs (optional, recommended). |
![]() | ProductName | Gets the product name in SOLO Server. |
![]() | Quantity | Gets the quantity ordered. |
![]() | RemainingActivations | Gets the number of activations remaining for this License ID. |
![]() | RemainingDeactivations | Gets the number of deactivations remaining for this License ID. |
![]() | ReplacedBy | Gets the License ID of the license which has replaced this LicenseID (typically used to indicate the License ID of an upgrade license). |
![]() | RequireSsl | Gets or sets whether or not SSL certificate validation to check. (Inherited from WebServiceCall.) |
![]() | ResultCode | 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.) |
![]() | SessionCode | Gets or sets the randomized session code (used to deter replay attacks). (Inherited from WebServiceCall.) |
![]() | SessionCodeValidation | Gets or sets whether or not session code validation should be done automatically. (Inherited from WebServiceCall.) |
![]() | StateProvince | Gets the state/province of the customer's address. |
![]() | TCFixedValue | Gets the Trigger Code Fixed Value (or "TC Fixed Value") parameter from the product option. |
![]() | UDefChar1 | Gets the user-defined string field 1 (UDefChar1) data. |
![]() | UDefChar10 | Gets the user-defined string field 10 (UDefChar10) data. |
![]() | UDefChar2 | Gets the user-defined string field 2 (UDefChar2) data. |
![]() | UDefChar3 | Gets the user-defined string field 3 (UDefChar3) data. |
![]() | UDefChar4 | Gets the user-defined string field 4 (UDefChar4) data. |
![]() | UDefChar5 | Gets the user-defined string field 5 (UDefChar5) data. |
![]() | UDefChar6 | Gets the user-defined string field 6 (UDefChar6) data. |
![]() | UDefChar7 | Gets the user-defined string field 7 (UDefChar7) data. |
![]() | UDefChar8 | Gets the user-defined string field 8 (UDefChar8) data. |
![]() | UDefChar9 | Gets the user-defined string field 9 (UDefChar9) data. |
![]() | UDefDate1 | Gets the user-defined date-time field 1 (UDefDate1) data. |
![]() | UDefDate2 | Gets the user-defined date-time field 2 (UDefDate2) data. |
![]() | UDefDate3 | Gets the user-defined date-time field 3 (UDefDate3) data. |
![]() | UDefDate4 | Gets the user-defined date-time field 4 (UDefDate4) data. |
![]() | UDefDate5 | Gets the user-defined date-time field 5 (UDefDate5) data. |
![]() | UDefFloat1 | Gets the user-defined float field 1 (UDefFloat1) data. |
![]() | UDefFloat2 | Gets the user-defined float field 2 (UDefFloat2) data. |
![]() | UDefFloat3 | Gets the user-defined float field 3 (UDefFloat3) data. |
![]() | UDefFloat4 | Gets the user-defined float field 4 (UDefFloat4) data. |
![]() | UDefFloat5 | Gets the user-defined float field 5 (UDefFloat5) data. |
![]() | UDefNum1 | Gets the user-defined number field 1 (UDefNum1) data. |
![]() | UDefNum2 | Gets the user-defined number field 2 (UDefNum2) data. |
![]() | UDefNum3 | Gets the user-defined number field 3 (UDefNum3) data. |
![]() | UDefNum4 | Gets the user-defined number field 4 (UDefNum4) data. |
![]() | UDefNum5 | Gets the user-defined number field 5 (UDefNum5) data. |
![]() | UseDigitalSignature | Overrides the UseDigitalSignature property to reflect the fact that this web service method does not support digital signatures. (Overrides WebServiceCallUseDigitalSignature.) |
![]() | UseEncryption | Overrides the UseEncryption property to reflect the fact that this web service method does not support encryption. (Overrides WebServiceCallUseEncryption.) |
![]() | WebServiceClient | 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.) |
![]() | WebServiceResponse | Gets or set the XmlNode object reference for the root XML node of the web service response. (Inherited from WebServiceCall.) |
Name | Description | |
---|---|---|
![]() | AppendSessionCode(String) | Appends the SessionCode value to an XML request string depending on the SessionCodeValidation setting, and returns the updated XML string (Inherited from WebServiceCall.) |
![]() | AppendSessionCode(XmlDocument) | Appends the SessionCode value to an XmlDocument depending on the SessionCodeValidation setting, and returns the updated XML string (Inherited from WebServiceCall.) |
![]() | CallWebService | Calls the web service method. (Inherited from WebServiceCall.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GenerateEncryptedRequest | Generates an encrypted web service call XML request string. (Inherited from WebServiceCall.) |
![]() | GeneratePlainTextRequest | Generates a plain-text XML request string for InfoCheck calls (Overrides WebServiceCallGeneratePlainTextRequest.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ProcessResponse(String) | Processes a web service response XML string. (Inherited from WebServiceCall.) |
![]() | ProcessResponse(XmlNode) | (Overrides WebServiceCallProcessResponse(XmlNode).) |
![]() | ResetSessionCode | Sets the SessionCode value to a new, randomized value. (Inherited from WebServiceCall.) |
![]() | ToString | (Inherited from Object.) |
![]() | ValidateWebServiceResponseFormat | Verifies the format of the response received is such that expected and required content can be found and parsed. (Inherited from WebServiceCall.) |
The XmlLicenseService documentation should be referenced for the most current information.
![]() |
---|
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. |
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; }