EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IBitsPeer::GetPeerName method

Gets the server principal name that uniquely identifies the peer.

Syntax


HRESULT GetPeerName(
  [out] LPWSTR *pName
);

Parameters

pName [out]

Null-terminated string that contains the server principal name of the peer. The principal name is of the form, server$.domain.suffix. Call the CoTaskMemFree function to free pName when done.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

 

Remarks

The principal name ensures the unique identity of the peer computer and is the entity that Kerberos authenticates.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Bits3_0.h (include Bits.h)

IDL

Bits3_0.idl

Library

Bits.lib

See also

IBitsPeer

 

 

Anzeigen: