IDriveProvider Interface
Namespace: GHIElectronics.TinyCLR.IO · Assembly: GHIElectronics.TinyCLR.IO
No description available.
public interface IDriveProvider
Properties
DriveType
DriveType DriveType { get; }
No description available.
DriveFormat
string DriveFormat { get; }
No description available.
IsReady
bool IsReady { get; }
No description available.
AvailableFreeSpace
long AvailableFreeSpace { get; }
No description available.
TotalFreeSpace
long TotalFreeSpace { get; }
No description available.
TotalSize
long TotalSize { get; }
Total size of the region, in bytes. (inherited)
VolumeLabel
string VolumeLabel { get; }
No description available.
Name
string Name { get; }
The native API name. (inherited)
Methods
Find(string path, string searchPattern)
IFileSystemEntryFinder Find(string path, string searchPattern)
Locates a native API by name and type. (inherited)
| Parameter | Type | Description |
|---|---|---|
path | string | |
searchPattern | string |
Returns IFileSystemEntryFinder
GetFileSystemEntry(string path)
FileSystemEntry GetFileSystemEntry(string path)
No description available.
| Parameter | Type | Description |
|---|---|---|
path | string |
Returns FileSystemEntry
OpenFile(string path, int bufferSize)
IFileStream OpenFile(string path, int bufferSize)
No description available.
| Parameter | Type | Description |
|---|---|---|
path | string | |
bufferSize | int |
Returns IFileStream
Delete(string path)
void Delete(string path)
Deletes a file from the device. (inherited)
| Parameter | Type | Description |
|---|---|---|
path | string |
Move(string source, string destination)
bool Move(string source, string destination)
Moves a file from the source to the destination. (inherited)
| Parameter | Type | Description |
|---|---|---|
source | string | |
destination | string |
Returns bool
CreateDirectory(string path)
void CreateDirectory(string path)
No description available.
| Parameter | Type | Description |
|---|---|---|
path | string |
GetAttributes(string path)
FileAttributes GetAttributes(string path)
No description available.
| Parameter | Type | Description |
|---|---|---|
path | string |
Returns FileAttributes
SetAttributes(string path, FileAttributes attributes)
void SetAttributes(string path, FileAttributes attributes)
No description available.
| Parameter | Type | Description |
|---|---|---|
path | string | |
attributes | FileAttributes |
Initialize(string name)
void Initialize(string name)
No description available.
| Parameter | Type | Description |
|---|---|---|
name | string |