Share via


IAppxEncryptedFile::GetEncryptedStream method

[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 the stream of the encrypted file. The stream contains encrypted data of the file.

Syntax

HRESULT GetEncryptedStream(
  [out, retval] IStream **stream
);

Parameters

  • stream [out, retval]
    The stream containing the encrypted data of the file.

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

See also

IAppxEncryptedFile