MediaFile is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace of Telligent.Evolution.Platform.dll
Definition
class MediaFile
{
string ContentType { get; set; }
DateTime? Date { get; set; }
string FileName { get; set; }
int? FileSize { get; set; }
string FileUrl { get; set; }
bool? IsRemoteAttachment { get; set; }
Byte[] Data();
string GetClientDownloadUrl();
bool SaveToTemporaryFiles(string contextId, string fileName);
}
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| ContentType | string | |||
| Date | DateTime? | |||
| FileName | string | |||
| FileSize | int? | |||
| FileUrl | string | |||
| IsRemoteAttachment | bool? |
Methods
Byte[] Data();
Return Type
Byte[]
string GetClientDownloadUrl();
Return Type
string
bool SaveToTemporaryFiles(string contextId, string fileName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| contextId | string | Context Id | Required | ||
| fileName | string | File Name | Required |
Return Type
bool