IBitsPeer::IsAuthenticated method (bits3_0.h)

Determines whether the peer is authenticated.

Syntax

HRESULT IsAuthenticated(
  [out] BOOL *pAuth
);

Parameters

[out] pAuth

TRUE if the peer is authenticated, otherwise, FALSE.

Return value

The method returns the following return values.

Return code Description
S_OK
Success

Remarks

BITS cannot download content from an unauthenticated peer. When peers are detected, they are initially not authenticated. BITS contacts peers when downloading a job that is enabled for peercaching; BITS authenticates a given peer the first time it is contacted.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header bits3_0.h (include Bits.h)
Library Bits.lib

See also

IBitsPeer