Class FileStreamTicket
Represent file stream ticket.
Inheritance
System.Object
FileStreamTicket
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.FileUploader
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0Syntax
public class FileStreamTicket
Constructors
FileStreamTicket()
Initializes a new instance of the FileStreamTicket class.
Declaration
public FileStreamTicket()
FileStreamTicket(Guid)
Initializes a new instance of the FileStreamTicket class.
Declaration
public FileStreamTicket(Guid uid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uid | The uid. |
Properties
TicketBufferSize
Gets the size of the ticket buffer.
Declaration
public static int TicketBufferSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The size of the ticket buffer. |
Uid
Gets the uid.
Declaration
public Guid Uid { get; }
Property Value
Type | Description |
---|---|
System.Guid | The uid. |
Methods
Parse(Byte[])
Parses the specified buffer.
Declaration
public static FileStreamTicket Parse(byte[] Buffer)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | Buffer | The buffer. |
Returns
Type | Description |
---|---|
FileStreamTicket |
Parse(String)
Parses the specified STR.
Declaration
public static FileStreamTicket Parse(string Str)
Parameters
Type | Name | Description |
---|---|---|
System.String | Str | The STR. |
Returns
Type | Description |
---|---|
FileStreamTicket |
ToByteArray()
Toes the byte array.
Declaration
public byte[] ToByteArray()
Returns
Type | Description |
---|---|
System.Byte[] |
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |
Overrides
System.Object.ToString()
TryParse(Byte[], out FileStreamTicket)
Tries the parse.
Declaration
public static bool TryParse(byte[] Buffer, out FileStreamTicket RetVal)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | Buffer | The buffer. |
FileStreamTicket | RetVal | The ret val. |
Returns
Type | Description |
---|---|
System.Boolean |
TryParse(String, out FileStreamTicket)
Tries the parse.
Declaration
public static bool TryParse(string Str, out FileStreamTicket RetVal)
Parameters
Type | Name | Description |
---|---|---|
System.String | Str | The STR. |
FileStreamTicket | RetVal | The ret val. |
Returns
Type | Description |
---|---|
System.Boolean |