AllowOrigin Property
Specifies the content of AllowOrigin header of the service reply.
Syntax
ANSI (Cross Platform) char* GetAllowOrigin();
int SetAllowOrigin(const char* lpszAllowOrigin); Unicode (Windows) LPWSTR GetAllowOrigin();
INT SetAllowOrigin(LPCWSTR lpszAllowOrigin);
@property (nonatomic,readwrite,assign,getter=allowOrigin,setter=setAllowOrigin:) NSString* allowOrigin; - (NSString*)allowOrigin; - (void)setAllowOrigin:(NSString*)newAllowOrigin;
#define PID_DCAUTHWEBSERVER_ALLOWORIGIN 2 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_DCAuthWebServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_DCAuthWebServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Use this property to specify the content of AllowOrigin header included with the service reply. If left empty, the * header will be returned.
Data Type
String