MFNETSOURCE_PLAYERUSERAGENT property

The value of the second portion of the "cs(User-Agent)" field that the network source uses for logging. Applications can set this property to any string value.

Data type

PROPVARIANT type (vt)

PROPVARIANT member

Wide-character string (WCHAR*)

VT_LPWSTR

pwszVal

Remarks

The constant MFNETSOURCE_PLAYERUSERAGENT defines the GUID for this property key. The property identifier (PID) is zero.

Applications can use this property to configure the network source. To set the property, pass an IPropertyStore pointer to the source resolver. For more information, see Configuring a Media Source.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Mfidl.h

See also

Client Logging

Media Foundation Properties

Networking in Media Foundation

MFNETSOURCE_BROWSERUSERAGENT