CustomHooksOnBeforeUpload Method |
This method is invoke before a File Upload gets processed by Ingeniux CMS Site Instance server.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux_API_Extensions_Development_Harness (in Ingeniux_API_Extensions_Development_Harness.dll) Version: 10.3.169
Syntax public void OnBeforeUpload(
IUserWriteSession session,
ref Stream uploadStream,
ref string fileName,
ref string targetPhysicalFolder
)
Parameters
- session
- Type: IUserWriteSession
The session that will be used to process the upload. - uploadStream
- Type: System.IOStream
Stream of the upload file - fileName
- Type: SystemString
Name of the upload file. - targetPhysicalFolder
- Type: SystemString
Full path of target folder.
Implements
ICustomHooks.OnBeforeUpload(IUserWriteSession, Stream, String, String)Remarks When this action is invoked, the objects involved have yet to be saved to the Content Store.
See Also