Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method sets the password used by the client for authentication. When a client requests a connection or issues a command, the server may ask for this password.

Syntax

HRESULT SetPassword(
  LPCWSTR 
pszPassword
);

Parameters

pszPassword

[in] Password to use for authentication.

Return Value

The appropriate HResult is returned.

Requirements

Header obex.h, obex.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also