C# Класс PutioFS.Core.PutioFileHandle

Main interface to the contents of the remote file. The file is dowloaded and stored in a local cache file. PutioFileHandle can be used like a read-only file handle to access that cache. Seeking to an offset and reading from there, like a regular file stream, will be identical to reading from the remote file.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Guid System.Guid
PutioFile PutioFile

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

Метод Описание
Close ( ) : void
Dispose ( ) : void
PutioFileHandle ( PutioFile file ) : System
Read ( byte buffer, int buffer_start_index, int max_read_size ) : int
Seek ( long offset ) : long

Защищенные методы

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

Приватные методы

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

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

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

public Close ( ) : void
Результат void

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

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

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

public PutioFileHandle ( PutioFile file ) : System
file PutioFile
Результат System

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

public Read ( byte buffer, int buffer_start_index, int max_read_size ) : int
buffer byte
buffer_start_index int
max_read_size int
Результат int

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

public Seek ( long offset ) : long
offset long
Результат long

Описание свойств

Guid публичное свойство

public Guid,System Guid
Результат System.Guid

PutioFile публичное свойство

public PutioFile,PutioFS.Core PutioFile
Результат PutioFile