Свойство | Тип | Описание | |
---|---|---|---|
driveStream |
Свойство | Тип | Описание | |
---|---|---|---|
driveGeometry | DriveGeometry | ||
driveHandle | SafeFileHandle |
Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
DriveAccess ( string Path ) : System | ||
GetAllDrives ( string DeviceName ) : List |
Returns a list of all Drives on the mahine
|
|
ReadSectors ( System.UInt64 startSector, System.UInt64 sectorCount, byte Buffer, int offset ) : int |
Reads a number of sectors from the opened drive
|
|
WriteSectors ( System.UInt64 startSector, System.UInt64 sectorCount, byte Buffer, int offset ) : void |
Writes a number of sectors on the opened drive (Untested!!!)
|
Метод | Описание | |
---|---|---|
CreateFile ( string lpFileName, |
||
DeviceIoControl ( |
||
QueryDosDevice ( string DeviceName, |
public DriveAccess ( string Path ) : System | ||
Path | string | |
Результат | System |
public static GetAllDrives ( string DeviceName ) : List |
||
DeviceName | string | Can be null |
Результат | List |
public ReadSectors ( System.UInt64 startSector, System.UInt64 sectorCount, byte Buffer, int offset ) : int | ||
startSector | System.UInt64 | Address of the start sector |
sectorCount | System.UInt64 | Number of sectors to read |
Buffer | byte | The buffer to put data in |
offset | int | Offset of data ub the buffer |
Результат | int |
public WriteSectors ( System.UInt64 startSector, System.UInt64 sectorCount, byte Buffer, int offset ) : void | ||
startSector | System.UInt64 | Address of the start sector |
sectorCount | System.UInt64 | Number of sectors to write |
Buffer | byte | The buffer the data is taken from |
offset | int | Offset of data in the buffer |
Результат | void |