This documentation is for the old version. Go to the latest Upload Suite docs

Metadata.UserAgent Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a user-agent string.

Syntax

PHP
public function getUserAgent() {
}

public function setUserAgent($value) {
}

Property Value

Type: string

The user-agent string which is sent by Image Uploader in the header of the upload request.

Default value is "".

Remarks

Note

During initialization, this value is set to the user-agent string of a browser which hosts Image Uploader.

See Also

Reference