WS_DISALLOWED_USER_AGENT_SUBSTRINGS structure (webservices.h)

Specifies the list of blocked UserAgent sub-string's. This is used with the WS_LISTENER_PROPERTY_DISALLOWED_USER_AGENT listener property.

Syntax

typedef struct _WS_DISALLOWED_USER_AGENT_SUBSTRINGS {
  ULONG     subStringCount;
  WS_STRING **subStrings;
} WS_DISALLOWED_USER_AGENT_SUBSTRINGS;

Members

subStringCount

The number of items in 'prefixes'.

subStrings

An array of WS_STRING*. Each WS_STRING* would be searched as a sub-string in the UserAgent HTTP header value.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header webservices.h