More in this section
Forums / Developing with Sitefinity / Get BinaryContent Programatically

Get BinaryContent Programatically

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Singularity
    Singularity avatar
    2 posts
    06 Aug 2007
    23 Apr 2008
    Link to this post
    How can I get the binarycontent data of a document programatically. I am able to get the CmsContentBase from the LibraryManager, but I can't figure out how to get the binary data of the actual file.
  2. Yasen
    Yasen avatar
    121 posts
    18 May 2013
    29 Apr 2008
    Link to this post
    Hello Singularity,

    The content items you managed to get derive from the IContent class that has property Content. That is the property that holds the binary data for files.

    Hope this helps.

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered