ForumAttachmentInfoProviderSaveAttachmentFileToDisk Method |
Saves attachment file to the disk.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 9.0.0
Syntax public static string SaveAttachmentFileToDisk(
string siteName,
string guid,
string fileName,
string fileExtension,
BinaryData fileData,
bool synchronization
)
Parameters
- siteName
- Type: SystemString
Attachment site name - guid
- Type: SystemString
File GUID - fileName
- Type: SystemString
File name - fileExtension
- Type: SystemString
File extension - fileData
- Type: CMS.CoreBinaryData
File data (byte[] or Stream) - synchronization
- Type: SystemBoolean
Indicates if this function is called from "ProcessTask"
Return Value
Type:
StringSee Also