Export (0) Print
Expand All
Expand Minimize

2.2.3.175 UserAgent

The UserAgent element is an optional child element of the Set element in Settings command requests that specifies the user agent. The UserAgent element value can be up to 1024 characters in length.

All elements referenced in this section are defined in the Settings namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Settings command DeviceInformation request (section 2.2.2.17)

Set (section 2.2.3.152)

None

string ([MS-ASDTYPE] section 2.6)

0...1 (optional)

The UserAgent element SHOULD contain the information in the User-Agent header. The User-Agent header SHOULD be removed from the HTTP request. The server does not validate the value of the UserAgent element.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.4, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

12.1

X

14.0

X

14.1

X

Show:
© 2014 Microsoft