Click or drag to resize
MediaFileInfo Constructor (HttpPostedFile, Int32, String)
Constructor - creates a new MediaFileInfo object from posted file.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 11.0.0
Syntax
C#
public MediaFileInfo(
	HttpPostedFile postedFile,
	int libraryId,
	string librarySubfolder
)

Parameters

postedFile
Type: System.WebHttpPostedFile
Posted file
libraryId
Type: SystemInt32
ID of the library the file will be assigned to
librarySubfolder
Type: SystemString
Library subfolder path where file should be saved
See Also