Property | Type | Description | |
---|---|---|---|
driveStream |
Property | Type | Description | |
---|---|---|---|
driveGeometry | DriveGeometry | ||
driveHandle | SafeFileHandle |
Method | Description | |
---|---|---|
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!!!)
|
Method | Description | |
---|---|---|
CreateFile ( string lpFileName, |
||
DeviceIoControl ( |
||
QueryDosDevice ( string DeviceName, |
public static GetAllDrives ( string DeviceName ) : List |
||
DeviceName | string | Can be null |
return | 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 |
return | 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 |
return | void |