Class FileStreamInfo

Represents an information about uploaded file stream.

Inheritance
System.Object
FileStreamInfo
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
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.Web
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0
Syntax
public class FileStreamInfo : ICloneable

Constructors

FileStreamInfo()

Initializes a new instance of the FileStreamInfo class.

Declaration
public FileStreamInfo()

FileStreamInfo(Guid, String, Guid, Int32)

Initializes a new instance of the FileStreamInfo class.

Declaration
public FileStreamInfo(Guid SessionUid, string FileName, Guid StreamUid, int Size)
Parameters
Type Name Description
System.Guid SessionUid

The session uid.

System.String FileName

Name of the file.

System.Guid StreamUid

The stream uid.

System.Int32 Size

The size.

FileStreamInfo(Guid, String, String, Guid, Int32)

Initializes a new instance of the FileStreamInfo class.

Declaration
public FileStreamInfo(Guid SessionUid, string FileName, string ContentType, Guid StreamUid, int Size)
Parameters
Type Name Description
System.Guid SessionUid

The session uid.

System.String FileName

Name of the file.

System.String ContentType

Type of the content.

System.Guid StreamUid

The stream uid.

System.Int32 Size

The size.

FileStreamInfo(String, Guid, Int32)

Initializes a new instance of the FileStreamInfo class.

Declaration
public FileStreamInfo(string FileName, Guid StreamUid, int Size)
Parameters
Type Name Description
System.String FileName

Name of the file.

System.Guid StreamUid

The stream uid.

System.Int32 Size

The size.

Properties

ContentTypeName

Gets or sets the name of the content type.

Declaration
public string ContentTypeName { get; set; }
Property Value
Type Description
System.String

The name of the content type.

Created

Gets or sets the created.

Declaration
public DateTime Created { get; set; }
Property Value
Type Description
System.DateTime

The created.

FileName

Gets or sets the name.

Declaration
public string FileName { get; set; }
Property Value
Type Description
System.String

The name.

ProviderName

Gets or sets the name of the provider.

Declaration
public string ProviderName { get; set; }
Property Value
Type Description
System.String

The name of the provider.

SessionType

Gets or sets the type of the session.

Declaration
public FileUploaderSessionType SessionType { get; set; }
Property Value
Type Description
FileUploaderSessionType

The type of the session.

SessionUid

Gets or sets the session uid.

Declaration
public Guid SessionUid { get; set; }
Property Value
Type Description
System.Guid

The session uid.

Size

Gets or sets the size.

Declaration
public long Size { get; set; }
Property Value
Type Description
System.Int64

The size.

StreamUid

Gets or sets the stream uid.

Declaration
public Guid StreamUid { get; set; }
Property Value
Type Description
System.Guid

The stream uid.

Methods

Clone()

Creates a new object that is a copy of the current instance.

Declaration
public object Clone()
Returns
Type Description
System.Object

A new object that is a copy of this instance.

Implements

System.ICloneable