C# Класс NetworkCommsDotNet.Tools.StreamTools.StreamSendWrapper

Used to send all or parts of a stream. Particularly useful for sending files directly from disk etc.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Dispose the internal ThreadSafeStream

MD5CheckSum ( ) : string

Return the MD5 for the specific part of the stream only.

StreamSendWrapper ( ThreadSafeStream stream ) : System

Create a new stream wrapper and set Start and Length to encompass the entire Stream

StreamSendWrapper ( ThreadSafeStream stream, long start, long length ) : System

Create a new stream wrapper

Описание методов

Dispose() публичный Метод

Dispose the internal ThreadSafeStream
public Dispose ( ) : void
Результат void

MD5CheckSum() публичный Метод

Return the MD5 for the specific part of the stream only.
public MD5CheckSum ( ) : string
Результат string

StreamSendWrapper() публичный Метод

Create a new stream wrapper and set Start and Length to encompass the entire Stream
public StreamSendWrapper ( ThreadSafeStream stream ) : System
stream ThreadSafeStream The underlying stream
Результат System

StreamSendWrapper() публичный Метод

Create a new stream wrapper
public StreamSendWrapper ( ThreadSafeStream stream, long start, long length ) : System
stream ThreadSafeStream The underlying stream
start long The start position from where to read data
length long The length to read
Результат System