Home News DOC Class DL Others Rice
Class  >  browser  >  UserAgent
browser class : UserAgent getter

Description

Returns the user agent.

Syntax

instance.UserAgent

Arguments

None.

Return value

ClassDescription
stringThe user agent.

Sample code

1:

window w;

2:

browser b = w.CurrentBrowser;

3:

string ua = b.UserAgent;

Notes

None.

Links for reference

None.

Copyright © Rice All rights reserved.