1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Get BinaryContent Programatically

Get BinaryContent Programatically

2 posts, 0 answered
  1. Singularity
    Singularity avatar
    2 posts
    Registered:
    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
    Registered:
    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,
    Yasen
    the Telerik team

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