C# Class NMaier.SimpleDlna.Utilities.HttpStream

Inheritance: Stream, IDisposable
Afficher le fichier Open project: nmaier/simpleDLNA

Méthodes publiques

Свойство Type Description
UserAgent string

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
OpenAt ( long offset, HttpMethod method ) : void

Private Methods

Méthode Description
EnsureResponse ( ) : void
GenerateUserAgent ( ) : string

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

HttpStream() public méthode

public HttpStream ( Uri uri ) : System
uri System.Uri
Résultat System

HttpStream() public méthode

public HttpStream ( Uri uri, Uri referrer ) : System
uri System.Uri
referrer System.Uri
Résultat System

OpenAt() protected méthode

protected OpenAt ( long offset, HttpMethod method ) : void
offset long
method HttpMethod
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

Property Details

UserAgent public_oe static_oe property

public static string UserAgent
Résultat string