NTLMVersion Property
The NTLM version.
Syntax
ANSI (Cross Platform) int GetNTLMVersion();
int SetNTLMVersion(int iNTLMVersion); Unicode (Windows) INT GetNTLMVersion();
INT SetNTLMVersion(INT iNTLMVersion);
Possible Values
NT_NTLMV_1(1),
NT_NTLMV_2(2)
@property (nonatomic,readwrite,assign,getter=NTLMVersion,setter=setNTLMVersion:) int NTLMVersion; - (int)NTLMVersion; - (void)setNTLMVersion:(int)newNTLMVersion;
Possible Values
NT_NTLMV_1(1),
NT_NTLMV_2(2)
#define PID_NTLM_NTLMVERSION 4 IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_NTLM_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_NTLM_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
1
Remarks
This property specifies the NTLM version to use. Possible values are:
- 1 (ntNTLMv1 - default)
- 2 (ntNTLMv2)
Note: If the server requires EPA (Extended Protection for Authentication) this property must be set to 2 (ntNTLMv2).
Data Type
Integer