C# Class OctoTorrent.Client.SparseFile

Mostra file Open project: Eskat0n/OctoTorrent Class Usage Examples

Public Methods

Method Description
CreateSparse ( string filename, long length ) : void

Private Methods

Method Description
CanCreateSparse ( string volume ) : bool
CreateFileW ( [ lpFileName, uint dwDesiredAccess, uint dwShareMode, [ lpSecurityAttributes, uint dwCreationDisposition, uint dwFlagsAndAttributes, [ hTemplateFile ) : SafeFileHandle
DeviceIoControl ( SafeFileHandle hDevice, uint dwIoControlCode, IntPtr InBuffer, uint nInBufferSize, IntPtr OutBuffer, uint nOutBufferSize, uint &pBytesReturned, [ lpOverlapped ) : bool
GetVolumeInformationW ( [ lpRootPathName, [ lpVolumeNameBuffer, uint nVolumeNameSize, uint &lpVolumeSerialNumber, uint &lpMaximumComponentLength, uint &lpFileSystemFlags, [ lpFileSystemNameBuffer, uint nFileSystemNameSize ) : bool

Method Details

CreateSparse() public static method

public static CreateSparse ( string filename, long length ) : void
filename string
length long
return void