C# Class NMaier.SimpleDlna.Utilities.HttpStream

Inheritance: Stream, IDisposable
ファイルを表示 Open project: nmaier/simpleDLNA

Public Properties

Property Type Description
UserAgent string

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
Flush ( ) : void
HttpStream ( Uri uri ) : System
HttpStream ( Uri uri, Uri referrer ) : System
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OpenAt ( long offset, HttpMethod method ) : void

Private Methods

Method Description
EnsureResponse ( ) : void
GenerateUserAgent ( ) : string

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

HttpStream() public method

public HttpStream ( Uri uri ) : System
uri System.Uri
return System

HttpStream() public method

public HttpStream ( Uri uri, Uri referrer ) : System
uri System.Uri
referrer System.Uri
return System

OpenAt() protected method

protected OpenAt ( long offset, HttpMethod method ) : void
offset long
method HttpMethod
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

Property Details

UserAgent public_oe static_oe property

public static string UserAgent
return string