Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / XmlUtility Class / Utf8StreamToString Method
The UTF8 stream.
In This Topic
    Utf8StreamToString Method
    In This Topic
    Converts UTF8-encoded bytes from a stream to a string.
    Syntax
    public static string Utf8StreamToString( 
       Stream utf8Stream
    )

    Parameters

    utf8Stream
    The UTF8 stream.

    Return Value

    The full stream contents as a string. Also closes the stream.
    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