IMsTscNonScriptable::BinarySalt property

[This property is no longer available for use as of Windows Server 2003 with Service Pack 1 (SP1) and Windows XP with Service Pack 2 (SP2).]

Specifies the salt value part of a binary encoded password. Note that this should not be considered a securely encrypted format.

You can set this property to specify the password part of a connection password after converting the plaintext password by setting the ClearTextPassword property and then retrieving the BinarySalt property.

This property is read/write.

Syntax


HRESULT put_BinarySalt(
  [in]   BSTR newSalt
);

HRESULT get_BinarySalt(
  [out]  BSTR *pSalt
);

Property value

The new binary salt part for a binary encoded password.

Error codes

Returns S_OK if successful. Returns E_NOTIMPL if called on a platform that does not support it.

Remarks

To set a password in binary encoded format, you must set both the BinaryPassword property and the BinarySalt properties.

The BinarySalt property can only be set when the Remote Desktop ActiveX control is not in the connected state. This method returns E_FAIL if called when the control is connected. To check for the connected state, retrieve the IMsTscAx::Connected property.

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

End of client support

Windows XP with SP1

End of server support

Windows Server 2003

Type library

Mstscax.dll

DLL

Mstscax.dll

IID

IID_IMsTscNonScriptable is defined as c1e6743a-41c1-4a74-832a-0dd06c1c7a0e

See also

IMsTscNonScriptable

 

 

Show:
© 2014 Microsoft