Method | Description | |
---|---|---|
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 | |
return | bool |
public Connect ( String connectionString, String baseDataDir ) : void | ||
connectionString | String | |
baseDataDir | String | |
return | void |
public GetDataDir ( |
||
user | ||
return | String |
public GetFileListSerializable (
|
||
user | /// This account. /// | |
return | List
|
public GetUserByName ( String userName ) : |
||
userName | String | |
return |
public RemoveFile ( |
||
user | ||
filePath | String | |
return | bool |
public UpdateFile ( |
||
user | ||
thisFile | ||
return | bool |