Hex Editor
Hex Editor - Binary File Editing Software for Windows

IFileDocument.Encrypt Method

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >
Declaration
Automation:
void  Encrypt ( [in]   String  Provider, [in]   uint  ProviderType, [in]   uint  AlgoID, [in]   String  Password, [in]   IMultiSelection  pSelection, [in, optional]   Variant  KeyLength) ;
Native (C++):
HRESULT  Encrypt ( [in]   BSTR  Provider, [in]   unsigned long  ProviderType, [in]   unsigned long  AlgoID, [in]   BSTR  Password, [in]   IMultiSelection *  pSelection, [in, optional]   VARIANT  KeyLength) ;
Parameters
ProviderThe name of the encryption provider. Consult the Microsoft Cryptography API documentation for more information.ProviderTypeThe provider type. Consult the Microsoft Cryptography API documentation for more information.AlgoIDAlgortihm identifier.PasswordString containing a password.pSelectionMultiple selection object specifying data to encrypt.KeyLengthKey length, for supported algorithms.
Return Value
S_OK or standard OLE error code.
Remarks
Encrypt the contents of the document.
< PreviousTopNext >
Copyright © 2012 HHD Software. All rights reserved.