Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | ||
return | void |
public static AssureUniqueFilename ( string folder, string fileName, string &newFile ) : void | ||
folder | string | |
fileName | string | |
newFile | string | |
return | void |
public static CalculateHash ( string file ) : string | ||
file | string | |
return | string |
public static CreateDirectory ( string path ) : string | ||
path | string | |
return | string |
public static GeneratePasswordHash ( string userId, string password, string &hashedPassword ) : void | ||
userId | string | |
password | string | |
hashedPassword | string | |
return | void |
public static GetRequestProtocolVersion ( Request request ) : int | ||
request | Request | |
return | int |
public static GetUniqueFilename ( string destination, string extention, string &fileName ) : void | ||
destination | string | |
extention | string | |
fileName | string | |
return | void |
public static IsDirectoryEmpty ( string folder ) : bool | ||
folder | string | |
return | bool |
public static SanitizeName ( string folder ) : string | ||
folder | string | |
return | string |
public static WriteToLocalLog ( string message ) : void | ||
message | string | |
return | void |