## Aurigma Image Uploader 7.0.28

# metadata.userAgent Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

Gets or sets a user-agent string.

## Syntax

### JavaScript

### Initialize

    $au.uploader({
        metadata: {
            //...other params...
            userAgent: navigator.userAgent,
            //...other params...
        }
    })

### Get/Set Value at Runtime

    $au.uploader('uploaderID').metadata().userAgent(value);
    value = $au.uploader('uploaderID').metadata().userAgent();

### Property Value

Type: String

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

Default value is navigator.userAgent.

## Remarks

Note

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

## See Also

### Reference

- Aurigma.ImageUploader.Metadata.UserAgent ASP.NET Property
- Metadata.UserAgent PHP Property