Kentico - Pass MemoryStream file to MediaFileInfo API
问题 I have created a iTextSharp PDF file that is created to a MemoryStream. But I now need to pass this file to the Kentico media library. I would be grateful if anyone could show my how to do this. The code I have currently is: //Media Library Info - takes Media Library Name and Website Name MediaLibraryInfo libraryInfo = MediaLibraryInfoProvider.GetMediaLibraryInfo("MyLibrary", CMSContext.CurrentSiteName); //Folder in Media Library where Item will be Inserted string mediaLibraryFolder = folder;