[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Gets an encrypted package reader over the package payload file that has been validated against the bundle.
Syntax
HRESULT GetEncryptedPackageReader(
  [out, retval] IAppxPackageReader **packageReader
);
Parameters
- packageReader [out, retval]
 The encrypted package reader.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an error code.
Requirements
| Minimum supported client | Windows 10, version 1607 [desktop apps only] | 
| Minimum supported server | Windows Server 2016 [desktop apps only] | 
| Header | AppxPackaging.h | 
| IDL | AppxPackaging.idl |