Метод | Описание | |
---|---|---|
AddSampleData ( ) : void |
Add sample data
|
|
AssureAdminSystemUserGroupAndPermissions ( ) : void | ||
AssureUniqueFilename ( string folder, string fileName, string &newFile ) : void |
Assure the a file is unique in a folder by assiging a counting number at the end of the file.
|
|
CalculateHash ( string file ) : string | ||
CreateDirectory ( string path ) : string |
Create Directory structure
|
|
DeleteAll ( ) : void |
Delete all used tables
|
|
GeneratePasswordHash ( string userId, string password, string &hashedPassword ) : void | ||
GetRequestProtocolVersion ( Request request ) : int |
Parse out the protocol version number from the header
|
|
GetUniqueFilename ( string destination, string extention, string &fileName ) : void | ||
IsDirectoryEmpty ( string folder ) : bool |
Check if directory is empty
|
|
SanitizeName ( string folder ) : string |
Sanitize Name Assure valid file or folder name
|
|
WriteToLocalLog ( string message ) : void |
Метод | Описание | |
---|---|---|
CreateDepot ( string name, |
||
CreateOrganization ( string name ) : |
||
CreateSalt ( int size ) : byte[] | ||
GenerateSaltedHash ( byte plainText, byte salt ) : byte[] | ||
GetBytes ( string str ) : byte[] | ||
GetString ( byte bytes ) : string | ||
IsClassLoaded ( string fullName ) : bool |
public static AssureAdminSystemUserGroupAndPermissions ( ) : void | ||
Результат | void |
public static AssureUniqueFilename ( string folder, string fileName, string &newFile ) : void | ||
folder | string | |
fileName | string | |
newFile | string | |
Результат | void |
public static CalculateHash ( string file ) : string | ||
file | string | |
Результат | string |
public static CreateDirectory ( string path ) : string | ||
path | string | |
Результат | string |
public static GeneratePasswordHash ( string userId, string password, string &hashedPassword ) : void | ||
userId | string | |
password | string | |
hashedPassword | string | |
Результат | void |
public static GetRequestProtocolVersion ( Request request ) : int | ||
request | Request | |
Результат | int |
public static GetUniqueFilename ( string destination, string extention, string &fileName ) : void | ||
destination | string | |
extention | string | |
fileName | string | |
Результат | void |
public static IsDirectoryEmpty ( string folder ) : bool | ||
folder | string | |
Результат | bool |
public static SanitizeName ( string folder ) : string | ||
folder | string | |
Результат | string |
public static WriteToLocalLog ( string message ) : void | ||
message | string | |
Результат | void |