Свойство | Type | Description | |
---|---|---|---|
Separators | char[] | ||
files | StoreFile>.Dictionary |
Méthode | Description | |
---|---|---|
CreateFile ( string path ) : StoreFile |
Creates a file.
|
|
CreateFolder ( string path ) : void |
Creates a folder.
|
|
DeleteFile ( string path ) : void |
Deletes a file.
|
|
DeleteFolder ( string path ) : void |
Deletes a folder.
|
|
FileExists ( string path ) : bool |
Checks if the given file exists.
|
|
FileStore ( ) : System | ||
FindFile ( string path, string fileName, bool subfolders ) : StoreFile |
Tries to locate the given file.
|
|
FolderExists ( string path ) : bool |
Checks if the given folder exists.
|
|
GetFile ( string path ) : StoreFile |
Gets the file extended information.
|
|
GetFolderFiles ( string path ) : string[] |
Gets a string array of the files in the given folder.
|
|
GetFolderFilesEx ( string path ) : StoreFile[] |
Gets a StoreFile array of the files in the given folder.
|
|
GetSubfolders ( string path ) : string[] |
Gets a string array of the subfolders in the given folder.
|
|
Load ( string path ) : bool |
Loads the store from the specified path.
|
|
MoveFile ( string sourcePath, string destinationPath ) : void |
Moves a file.
|
|
MoveFolder ( string sourcePath, string destinationPath ) : void |
Moves a folder.
|
|
ReadFile ( StoreFile file ) : byte[] |
Get the contents of the given file.
|
|
ReadFile ( string path ) : byte[] |
Get the contents of the given file.
|
|
Save ( string path ) : bool |
Saves the store to the specified path.
|
|
WriteFile ( StoreFile file, string dataPath, StoreMode storeMode ) : bool |
Stores the data contained in the given file into the file.
|
|
WriteFile ( StoreFile file, Stream stream, StoreMode storeMode ) : void |
Stores the given data into the file.
|
|
WriteFile ( StoreFile file, byte data, StoreMode storeMode ) : void |
Stores the given data into the file.
|
Méthode | Description | |
---|---|---|
CompressData ( byte data ) : byte[] | ||
CreateFolderImpl ( string path ) : StoreFolder | ||
DecompressData ( byte data ) : byte[] | ||
DecryptData ( byte data ) : byte[] | ||
DeserializeFolders ( byte data ) : bool | ||
EncryptData ( byte data ) : byte[] | ||
Format ( ) : void |
Removes all files and folders from the store.
|
|
GetFileId ( string path ) : Guid? | ||
GetFolder ( string path ) : StoreFolder | ||
GetFolder ( string path, StoreFolder &parent ) : StoreFolder | ||
InitEncryptionAlgorithm ( ) : void | ||
SerializeFolders ( ) : |
||
SetFileData ( StoreFile file, byte data, StoreMode storeMode ) : void |
public CreateFile ( string path ) : StoreFile | ||
path | string | The file path. |
Résultat | StoreFile |
public CreateFolder ( string path ) : void | ||
path | string | The path. |
Résultat | void |
public DeleteFile ( string path ) : void | ||
path | string | The file path. |
Résultat | void |
public DeleteFolder ( string path ) : void | ||
path | string | The folder path. |
Résultat | void |
public FileExists ( string path ) : bool | ||
path | string | The file path. |
Résultat | bool |
public FindFile ( string path, string fileName, bool subfolders ) : StoreFile | ||
path | string | The folder from where to start searching. |
fileName | string | Name of the file. |
subfolders | bool | Search in subfolders. |
Résultat | StoreFile |
public FolderExists ( string path ) : bool | ||
path | string | The folder path. |
Résultat | bool |
public GetFile ( string path ) : StoreFile | ||
path | string | The file path. |
Résultat | StoreFile |
public GetFolderFiles ( string path ) : string[] | ||
path | string | The folder path. |
Résultat | string[] |
public GetFolderFilesEx ( string path ) : StoreFile[] | ||
path | string | The folder path. |
Résultat | StoreFile[] |
public GetSubfolders ( string path ) : string[] | ||
path | string | The folder path. |
Résultat | string[] |
public MoveFile ( string sourcePath, string destinationPath ) : void | ||
sourcePath | string | The source path. |
destinationPath | string | The destination path. |
Résultat | void |
public MoveFolder ( string sourcePath, string destinationPath ) : void | ||
sourcePath | string | The source path. |
destinationPath | string | The destination path. |
Résultat | void |
public ReadFile ( StoreFile file ) : byte[] | ||
file | StoreFile | The file from which to get the data. |
Résultat | byte[] |
public WriteFile ( StoreFile file, string dataPath, StoreMode storeMode ) : bool | ||
file | StoreFile | The file in which to store the data. |
dataPath | string | |
storeMode | StoreMode | |
Résultat | bool |
public WriteFile ( StoreFile file, Stream stream, StoreMode storeMode ) : void | ||
file | StoreFile | The file in which to store the data. |
stream | Stream | |
storeMode | StoreMode | |
Résultat | void |
public WriteFile ( StoreFile file, byte data, StoreMode storeMode ) : void | ||
file | StoreFile | The file in which to store the data. |
data | byte | The data to store. |
storeMode | StoreMode | |
Résultat | void |