Table of Contents

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 MessageTypes

Message 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

long

CreationDate

Date of creation.

[DataMember]
public DateTimeOffset CreationDate { get; set; }

Property Value

DateTimeOffset

DataType

Data type info.

public override DataType DataType { get; }

Property Value

DataType

FileName

File name.

[DataMember]
public string FileName { get; set; }

Property Value

string

GroupId

Group ID.

[DataMember]
public long GroupId { get; set; }

Property Value

long

Hash

File hash.

[DataMember]
public string Hash { get; set; }

Property Value

string

Id

Identifier.

[DataMember]
public long Id { get; set; }

Property Value

long

IsPublic

Is the file available for public.

[DataMember]
public bool IsPublic { get; set; }

Property Value

bool

TransactionId

Request identifier.

[DataMember]
public long TransactionId { get; set; }

Property Value

long

Url

File url.

[DataMember]
public string Url { get; set; }

Property Value

string

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 FileInfoMessage

The object, to which copied information.

GetBodyLength()

Get body length.

public long GetBodyLength()

Returns

long

File body length.

ToString()

public override string ToString()

Returns

string