Home Notices Documents Classes Download Others Rice
Classes  >  browser  >  UserAgent
browser class : UserAgent getter

Description

Gets a string that indicates the user agent set by user.

Syntax

browserInstance.UserAgent

Arguments

None.

Return value

ClassDescription
stringA string that indicates the user agent set by user.

Sample code

1:

browser b = new browser();

2:

string useragent = b.UserAgent;

Notes

Default value is empty string.

Links for reference

None.

Copyright © Rice All rights reserved.