IMsTscNonScriptable::put_BinarySalt
This method sets the salt value part of a binary (non-portable) encoded password for the Remote Desktop ActiveX control.
HRESULT put_BinarySalt(
BSTR newSalt
);
Parameters
- newSalt
[in] String containing binary salt-value part of a binary-encoded password.
Return Values
The following table shows the return values for this method.
Value | Description |
---|---|
S_OK | String was correctly set. |
E_FAIL | The control is already connected or in the connecting state. |
nonzero error code | An error occurred. |
Remarks
Call this method to specify the salt value part of a connection password after you convert a clear-text password to binary-encoded format by calling get_BinarySalt.
To set a password in binary encoded format, you must call both put_BinaryPassword and put_BinarySalt.
This property can be set only if the control is not in the connected state. The method returns E_FAIL if called when the control is connected. You can check if the control is connected by calling the IMsTscAx::get_Connected method.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.
See Also
IMsTscNonScriptable | get_BinarySalt
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.