Each method will return result structure which is defined as follows:


Public Structure Result
        Public Status As ResultCode    ' Result code
        Public Description As String    ' Description of status code
        Public ActivationCode As String    ' Activation code string
        Public WebLicenseID As Integer    ' Web license ID (web licensing)
        Public OrderID As Integer        ' Order ID
        Public LicenseID As Integer    ' Standard license ID
End Structure


public struct Result {
    //  Status code
    public ResultCode Status;    

    //  Description of status code
    public string Description;

    // Activation code string
    public string ActivationCode;

    // Web license ID
    public int WebLicenseID;

    // Standard license ID
    public int LicenseID;

    // Order ID
    public int OrderID;