LocalFile Property
The local file to write data to, or whose data should be sent.
Syntax
ANSI (Cross Platform) char* GetLocalFile();
wchar_t* GetLocalFile_W(); // Windows only
int SetLocalFile(const char* lpszLocalFile);
int SetLocalFile(const wchar_t* lpszLocalFile); // Windows only Unicode (Windows) LPWSTR GetLocalFile();
INT SetLocalFile(LPCWSTR lpszLocalFile);
@property (nonatomic,readwrite,assign,getter=localFile,setter=setLocalFile:) NSString* localFile; - (NSString*)localFile; - (void)setLocalFile:(NSString*)newLocalFile;
#define PID_AMAZONSECRETS_LOCALFILE 9 CLOUDKEYS_EXTERNAL void* CLOUDKEYS_CALL CloudKeys_AmazonSecrets_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CLOUDKEYS_EXTERNAL int CLOUDKEYS_CALL CloudKeys_AmazonSecrets_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property specifies the location of a local file on disk. This is used as the source file when calling CreateSecret or CreateVersion, and as the destination file when calling GetSecret.
When creating a secret, the class assumes that data specified via a local file is binary in nature; the PreferBinary configuration setting can be used to control this behavior, refer to its documentation for more information.
Note: Setting this property to a non-empty value will discard and streams set using SetInputStream and SetOutputStream. Similarly, passing a non-null value to either of those methods will clear this property.
Data Type
String