DeployLX Software Protection System

PublisherLimit..::..ReadFromXml Method

Reads the Limit properties from the XML reader.

Syntax

Protected Overrides Function ReadFromXml ( _
	reader As XmlReader _
) As Boolean
protected override bool ReadFromXml(
	XmlReader reader
)

Parameters

reader
The reader to load from.

Return Value

Returns true if the read was successful, otherwise false.

Examples

This sample demonstrates how to load a limit's properties from the XML reader.
Visual Basic
Protected Overrides Function ReadFromXml(ByVal reader As System.Xml.XmlReader) As Boolean
    _variableName = reader.GetAttribute("variableName")
    _variableValue = reader.GetAttribute("variableValue")

    Return ReadChildLimits(reader)
End Function
C#
protected override bool ReadFromXml( System.Xml.XmlReader reader )
{
    _variableName = reader.GetAttribute( "variableName" );
    _variableValue = reader.GetAttribute( "variableValue" );

    return ReadChildLimits( reader );
}

Assembly:  DeployLX.Licensing.v5 (in DeployLX.Licensing.v5.dll)

See Also