In Configuration Manager 2007, the software metering message XML reports information for metered software to the software metering endpoint.

Input Message XML

<Report>

    <ReportHeader>

        <Identification>

            <Machine>

                <ClientInstalled></ClientInstalled>

                <ClientType></ClientType>

                <ClientID></ClientID>

                <ClientVersion></ClientVersion>

                <NetBIOSName></NetBIOSName>

                <CodePage></CodePage>

                <SystemDefaultLCID></SystemDefaultLCID>

            </Machine>

        </Identification>

        <ReportDetails>

            <ReportContent></ReportContent>

            <ReportType></ReportType>

            <Date></Date>

            <Version></Version>

            <Format></Format>

        </ReportDetails>

    </ReportHeader>

    <ReportBody>

        <ProductInfo>

            <SoftwareFileInfo>

                <HistoricalMeterData></HistoricalMeterData>

            </SoftwareFileInfo>

        </ProductInfo>

    </ReportBody>

</Report>

Output Message XML

None.

Remarks

You use ISmsMessaging::Post Method to pass the message to the software inventory manager endpoint, MP_RelayEndpoint. You set the target endpoint with ISmsMessage::SetTargetEndpoint Method.

You must set the file type property to SWM by using ISmsMessage::SetProperty Method.

The software metering endpoint XML schema is split into two parts: a header and a body. The header contains information that identifies the client and other report details. The body contains the actual report data.

Unlike other relay endpoint messages, the state message XML is contained in the body of the message, rather than being an attachment.

The following security flags can be applied to the message:

Security Mode Required Optional

Mixed

MPAPI_SECURITY_FLAG_MIXED_MODE

MPAPI_SECURITY_FLAG_SIGN_MESSAGE.

MPAPI_SECURITY_FLAG_ENCRYPT_MESSAGE

Native

MPAPI_SECURITY_FLAG_NATIVE_MODE, MPAPI_SECURITY_FLAG_SIGN_MESSAGE

MPAPI_SECURITY_FLAG_ENABLE_CRL_CHECKING

Use ISmsMessage4::SetSecurityFlags Methodto set the security flags for the message.

For information about MPAPI security flags, see MPAPI_SECURITY_FLAGS Enumeration.

See Also


Send comments about this topic to Microsoft.