Метод | Описание | |
---|---|---|
CheckPassword ( String pwordOrig, String pwordHashed ) : bool | ||
Connect ( String connectionString, String baseDataDir ) : void | ||
GetDataDir ( |
||
GetFileListSerializable (
|
Gets the file list in a manner that is easy to serialize and send.
|
|
GetUserByName ( String userName ) : |
Get an account from the database via a known ID
|
|
OwnCloudDB ( ) : System |
Initializes a new instance of the mybox.OwnCloudDB class.
|
|
RemoveFile ( |
Removes the file entry from the database.
|
|
ShowUsers ( ) : void |
Print a list of the accounts in the database
|
|
UpdateFile ( |
Update or insert a new entry for the file into the database
|
|
UsersCount ( ) : int |
Get the number of entries in the accounts table
|
public CheckPassword ( String pwordOrig, String pwordHashed ) : bool | ||
pwordOrig | String | |
pwordHashed | String | |
Результат | bool |
public Connect ( String connectionString, String baseDataDir ) : void | ||
connectionString | String | |
baseDataDir | String | |
Результат | void |
public GetDataDir ( |
||
user | ||
Результат | String |
public GetFileListSerializable (
|
||
user | /// This account. /// | |
Результат | List
|
public GetUserByName ( String userName ) : |
||
userName | String | |
Результат |
public RemoveFile ( |
||
user | ||
filePath | String | |
Результат | bool |
public UpdateFile ( |
||
user | ||
thisFile | ||
Результат | bool |