Méthode | Description | |
---|---|---|
AssignPassword ( string password, int protocolVersion ) : void |
Assign a new password to the user. If protocolVersion requires it, also generate a salt.
|
|
Deserialize ( |
Deserialise FileZilla binary data into object
|
|
HashPasswordMd5 ( string password ) : string |
Compute a correctly formatted hashed password for use in User.Password.
|
|
HashPasswordSha512 ( string password, string salt ) : string |
Compute a correctly formatted hashed password for use in User.Password.
|
|
Serialize ( |
Serialise object into FileZilla binary data
|
|
User ( ) : System |
Default constructor (sets defaults as in FileZilla server interface)
|
Méthode | Description | |
---|---|---|
GenerateSalt ( ) : string |
public AssignPassword ( string password, int protocolVersion ) : void | ||
password | string | New passwordinary writer to write data to |
protocolVersion | int | Current FileZilla protocol version |
Résultat | void |
public Deserialize ( |
||
reader | Binary reader to read data from | |
protocolVersion | int | Current FileZilla protocol version |
index | int | The 0 based index of this item in relation to any parent list |
Résultat | void |
public static HashPasswordMd5 ( string password ) : string | ||
password | string | |
Résultat | string |
public static HashPasswordSha512 ( string password, string salt ) : string | ||
password | string | |
salt | string | |
Résultat | string |
public Serialize ( |
||
writer | Binary writer to write data to | |
protocolVersion | int | Current FileZilla protocol version |
index | int | The 0 based index of this item in relation to any parent list |
Résultat | void |