 | ClientPasswordEncryptHandler Delegate |
Used to hash the password in the same way it is hashed in the outside data store.
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic delegate string ClientPasswordEncryptHandler(
Connection connection,
string plaintext,
int maxEncryptedTextByteSize
)
Public Delegate Function ClientPasswordEncryptHandler (
connection As Connection,
plaintext As String,
maxEncryptedTextByteSize As Integer
) As String
public delegate String^ ClientPasswordEncryptHandler(
Connection^ connection,
String^ plaintext,
int maxEncryptedTextByteSize
)
type ClientPasswordEncryptHandler =
delegate of
connection : Connection *
plaintext : string *
maxEncryptedTextByteSize : int -> string
Parameters
- connection
- Type: TeamSpeak.Sdk.ClientConnection
the Connection the password is being send to - plaintext
- Type: SystemString
The plaintext password. - maxEncryptedTextByteSize
- Type: SystemInt32
that maximum size of encrypted plaintext password.
Return Value
Type:
Stringthe custom encrypted password. The string encoded in utf8 most not be larger then maxEncryptedTextByteSize
See Also