473,405 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Licensing with Plimus

Hello and thank you for any and all assistance. I'm working with Plimus and
they have told me that I need to use this XML code to make my program work,
but I don't know XML.

<plimus_licensing_response>
<status>STATUS_CODE</status>
<days_till_expiration>DAYS</days_till_expiration>
<use_count>USE</use_count>
</plimus_licensing_response>

The following is a description of the possible values you will receive as a
response for each XML tag, if the XML tag is optional and what the possible
value signifies:

<status>STATUS_CODE</status>:
This tag will always be a part of the response.
The value of STATUS_CODE indicates the status of the submitted key and it
may hold one of the following values:

ERROR_INVALIDKEY Indicates the key supplied is invalid.
ERROR_INVALIDPRODUCT Indicates the product id supplied is invalid.
ERROR_EXPIREDKEY Indicates the key has expired.
ERROR_INVALIDMACHINE Indicates that this key has already been registered
using a different uniqueMachineId
ERROR_MAXCOUNT Indicates the key has already been registered the maximum
number of times allowed and therefore can not be registered again.
SUCCESS Indicates that the key has been registered successfully if the
action=REGISTER parameter was submitted, or that the key is valid if the
action=VALIDATE was submitted.
<days_till_expiration>DAYS</days_till_expiration>:
This tag is optional and will not be included if it is not applicable as in
cases when the key provided is not valid, etc..
DAYS is a positive or negative number marking the number of days until this
key expires (for positive numbers) or the number of days past its expiration
date (negative numbers).
For example:
DAYS=0 indicates it is the last day before expiration
DAYS=N indicates the key will expire in N days
DAYS=-Z indicates the key has expired Z days ago.
<use_count>USE</use_count>:
This tag is optional and will not be included if it is not applicable as in
cases when the key provided is not valid, etc..
The value of USE indicates the number of times the license has been
registered and its range will be from 0 (not yet registered), to the maximum
number of activations you allow (see above Maximum Use Count field).

I'm getting a response from the server of ERROR_INVALID Key so I know I'm
hitting their server, but what I'm wondering is how do I use this in my code,
when I get the SUCCESS response from the server.
--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.
Sep 11 '06 #1
1 1137
Hi Michael,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to parse this XML from the
server and make use of the content. If there is any misunderstanding,
please feel free to let me know.

Since the Xml doc is rather small, you can use an XmlDocument to parse it.
Create a new XmlDocument object and use Load method to load it. You can
check the following link for more information about XML Document Object
Model (DOM).

http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconXMLDocumentObjectModelDOM.asp

If anything is unclear, please feel free to reply to the post.

Kevin Yu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Sep 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Adrian B. | last post by:
Does anyone know of a framework or library that will enable me to use publish/subscribe comms? I want to create a server (using Python) running on a Unix box that will accept client connections...
15
by: nospam | last post by:
Once Yukon is released (whenever that might be) does anyone from MS have any comment on licensing for Yukon and on SQL 2000. I really don't think anyone with SQL 2000 licenses are going to...
5
by: Sandeep Srinivasa | last post by:
hi, I have a software which has licensing (enabled through flexlm). Now, an end user can build apps (As loadable modules) using this base software. I am introducing a new feature, which I am...
7
by: ML | last post by:
What is the best/easiest means to return the serial/volume number of the drive containing the OS using VB.NET? I'm looking to get this information as a unique ID for activation/registration of a...
9
by: vbdotnetmania | last post by:
Hi, I have looked through similar posts and have found Ken Tucker giving the reply about looking at article http://windowsforms.net/articles/Licensing.aspx This appears to be for controls and...
7
by: Andrew Smith | last post by:
Hi, does anybody know a good jumpstart for techniques to protect software with license keys? Thanks in advance Andrew -- Andrew Smith
5
by: Nikolay Petrov | last post by:
I would like to store a licensing information in a assembly. It's easy to crypt/decrypt it, but how to stote it, if my app is referencing and using this dll? Is this possible?
102
by: Xah Lee | last post by:
i had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ although Pretty Home Page is another criminal hack of the unix lineage, but if we are here to judge the quality...
4
by: Steve | last post by:
I'm in the process of finishing a vb2005 application for commerical use, and wanted to know if anyone has any favorites for licensing software? Would like something reasonably priced for a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.