Class FileInfoMessage
- Namespace
- StockSharp.Community
- Assembly
- StockSharp.Community.dll
File info message.
[DataContract]
public class FileInfoMessage : BaseSubscriptionIdMessage<FileInfoMessage>, ISubscriptionIdMessage, IOriginalTransactionIdMessage, ITransactionIdMessage, IMessage, ILocalTimeMessage, ICloneable
- Inheritance
-
FileInfoMessage
- Implements
- Inherited Members
- Extension Methods
Constructors
FileInfoMessage()
Initializes a new instance of the UserInfoMessage.
public FileInfoMessage()
FileInfoMessage(MessageTypes)
Initializes a new instance of the UserInfoMessage.
protected FileInfoMessage(MessageTypes type)
Parameters
type
MessageTypesMessage type.
Properties
Body
File body.
[DataMember]
public byte[] Body { get; set; }
Property Value
- byte[]
BodyLength
File body length.
[DataMember]
public long BodyLength { get; set; }
Property Value
CreationDate
Date of creation.
[DataMember]
public DateTimeOffset CreationDate { get; set; }
Property Value
DataType
Data type info.
public override DataType DataType { get; }
Property Value
FileName
File name.
[DataMember]
public string FileName { get; set; }
Property Value
GroupId
Group ID.
[DataMember]
public long GroupId { get; set; }
Property Value
Hash
File hash.
[DataMember]
public string Hash { get; set; }
Property Value
Id
Identifier.
[DataMember]
public long Id { get; set; }
Property Value
IsPublic
Is the file available for public.
[DataMember]
public bool IsPublic { get; set; }
Property Value
TransactionId
Request identifier.
[DataMember]
public long TransactionId { get; set; }
Property Value
Url
File url.
[DataMember]
public string Url { get; set; }
Property Value
Methods
Clone()
Create a copy of FileInfoMessage.
public override Message Clone()
Returns
- Message
Copy.
CopyTo(FileInfoMessage)
Copy the message into the destination
.
public override void CopyTo(FileInfoMessage destination)
Parameters
destination
FileInfoMessageThe object, to which copied information.
GetBodyLength()
Get body length.
public long GetBodyLength()
Returns
- long
File body length.
ToString()
public override string ToString()