SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Filename Property

Specifies the name of the file being protected.

Syntax

ANSI (Cross Platform)
char* GetFilename();
int SetFilename(const char* lpszFilename); Unicode (Windows) LPWSTR GetFilename();
INT SetFilename(LPCWSTR lpszFilename);
@property (nonatomic,readwrite,assign,getter=filename,setter=setFilename:) NSString* filename;
- (NSString*)filename;
- (void)setFilename:(NSString*)newFilename;
#define PID_PGPWRITER_FILENAME 22

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PGPWriter_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PGPWriter_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

Use this property to set the name of the file being protected, such as 'document.txt'. If Filename is empty or its value is "_CONSOLE", the data will be protected for-your-eyes-only, meaning the decryptor will only be able to read it on their screen, but not save.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]