Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares the specified publisher with the publisher defined in the manifest.
Syntax
HRESULT ComparePublisher(
[in] LPCWSTR other,
[out, retval] BOOL *isSame
);
Parameters
[in] other
Type: LPCWSTR
The publisher name to be compared.
[out, retval] isSame
Type: BOOL*
TRUE if the specified publisher matches the package publisher; FALSE otherwise.
Return value
Type: HRESULT
If the method succeeds, it returns S_OK.
Remarks
Publisher information is specified using the Publisher attribute of the Identity element in the package manifest.
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 |