Search Results for

    Show / Hide Table of Contents

    Class ContentMemoryStream

    A MemoryStream implementation with content type.

    Inheritance
    object
    MarshalByRefObject
    Stream
    MemoryStream
    ContentMemoryStream
    Implements
    IDisposable
    Inherited Members
    MemoryStream.Dispose(bool)
    MemoryStream.Flush()
    MemoryStream.FlushAsync(CancellationToken)
    MemoryStream.GetBuffer()
    MemoryStream.TryGetBuffer(out ArraySegment<byte>)
    MemoryStream.Read(byte[], int, int)
    MemoryStream.ReadAsync(byte[], int, int, CancellationToken)
    MemoryStream.ReadByte()
    MemoryStream.CopyToAsync(Stream, int, CancellationToken)
    MemoryStream.Seek(long, SeekOrigin)
    MemoryStream.SetLength(long)
    MemoryStream.ToArray()
    MemoryStream.Write(byte[], int, int)
    MemoryStream.WriteAsync(byte[], int, int, CancellationToken)
    MemoryStream.WriteByte(byte)
    MemoryStream.WriteTo(Stream)
    MemoryStream.CanRead
    MemoryStream.CanSeek
    MemoryStream.CanWrite
    MemoryStream.Capacity
    MemoryStream.Length
    MemoryStream.Position
    Stream.Null
    Stream.CopyToAsync(Stream)
    Stream.CopyToAsync(Stream, int)
    Stream.CopyTo(Stream)
    Stream.CopyTo(Stream, int)
    Stream.Close()
    Stream.Dispose()
    Stream.FlushAsync()
    Stream.CreateWaitHandle()
    Stream.BeginRead(byte[], int, int, AsyncCallback, object)
    Stream.EndRead(IAsyncResult)
    Stream.ReadAsync(byte[], int, int)
    Stream.BeginWrite(byte[], int, int, AsyncCallback, object)
    Stream.EndWrite(IAsyncResult)
    Stream.WriteAsync(byte[], int, int)
    Stream.Synchronized(Stream)
    Stream.ObjectInvariant()
    Stream.CanTimeout
    Stream.ReadTimeout
    Stream.WriteTimeout
    MarshalByRefObject.MemberwiseClone(bool)
    MarshalByRefObject.GetLifetimeService()
    MarshalByRefObject.InitializeLifetimeService()
    MarshalByRefObject.CreateObjRef(Type)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public class ContentMemoryStream : MemoryStream, IDisposable

    Constructors

    ContentMemoryStream()

    Initializes a new instance of the ContentMemoryStream.

    Declaration
    public ContentMemoryStream()

    ContentMemoryStream(byte[], string)

    Initializes a new instance of the ContentMemoryStream.

    Declaration
    public ContentMemoryStream(byte[] buffer, string contentType)
    Parameters
    Type Name Description
    byte[] buffer

    The array of unsigned bytes from which to create the current stream.

    string contentType

    The optional content type. The default value is "application/octet-stream".

    Properties

    ContentDisposition

    Gets or sets the content disposition HTTP header value.

    Declaration
    public string ContentDisposition { get; set; }
    Property Value
    Type Description
    string

    ContentType

    Gets the content type of this stream.

    Declaration
    public string ContentType { get; set; }
    Property Value
    Type Description
    string

    FileName

    Gets or sets the download file name.

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

    Implements

    IDisposable
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation