PasswordChange
[C]
struct FlowSshC_PasswordChange {};
[C++]
[Client] class PasswordChange : public NoCopy
[C#]
public sealed class PasswordChange
Members
General
- GetPrompt - Get server prompt. *
- SetNewPassword - The new password.
[.NET] Disposing
- IsDisposed - Is the object disposed? **
Remarks
If a password has expired, the server will usually request a new password from the user. A password-change object is given to you through the [Client]OnPasswordChange handler. This object should only be used during the call of the corresponding [Client]OnPasswordChange handler. It is not be stored or used thereafter.
* [C] The caller must release the returned BSTR with SysFreeString.
** [.NET] A [System]ObjectDisposedException is thrown, if you use the object once [Client]OnPasswordChange returns.