IAppxManifestPackageId::GetPublisher method (appxpackaging.h)

Gets the name of the package publisher as defined in the manifest.

Syntax

HRESULT GetPublisher(
  [out, retval] LPWSTR *publisher
);

Parameters

[out, retval] publisher

Type: LPWSTR*

The publisher of the package.

Return value

Type: HRESULT

If the method succeeds, it returns S_OK.

Remarks

Publisher name information is specified using the Publisher attribute of the Identity element in the package manifest.

The caller must free the memory allocated for publisher using the CoTaskMemFree function.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header appxpackaging.h

See also

IAppxManifestPackageId