Documentation > Services API > Helper > GetBinaryAsText(Asset)
GetBinaryAsText
It reads the binary file provided and returns as in a string. Only supports xml, csv, txt files. Any other types of extension will return empty string.
public System.String GetBinaryAsText(Asset)
Parameters
Name | Description | Type |
---|---|---|
binaryAsset | CrownPeak.CMSAPI.Asset |