Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DigitalDelivery Namespace / DigitalGood Class / ReadFileData Method
buffer to read data in to
offset to start reading from
number of bytes to read
In This Topic
    ReadFileData Method
    In This Topic
    Reads data of the file for this digital good in the given buffer
    Syntax
    public virtual int ReadFileData( 
       out byte[] buffer,
       int offset,
       int length
    )

    Parameters

    buffer
    buffer to read data in to
    offset
    offset to start reading from
    length
    number of bytes to read

    Return Value

    total number of bytes read
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also