User-Agent

From World Wind Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:50, 17 February 2005 (edit)
Jessi (Talk | contribs)

← Previous diff
Revision as of 02:51, 17 February 2005 (edit) (undo)
Jessi (Talk | contribs)

Next diff →
Line 6: Line 6:
Mozilla/5.001 (windows; U; NT4.0; en-us) Gecko/25250101 Mozilla/5.001 (windows; U; NT4.0; en-us) Gecko/25250101
 +Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
 +
 +IE user agent:
 +
 +Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705)
Current Code: Current Code:

Revision as of 02:51, 17 February 2005

Current World Wind user agent:

World Wind v1.2.1873.34143 (Microsoft Windows NT 5.1.2600.0, en-US)

Mozilla user agent:

Mozilla/5.001 (windows; U; NT4.0; en-us) Gecko/25250101 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

IE user agent:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705)

Current Code:

WebDownload\WebDownload.cs, WebDownload:IDisposable

  static readonly string UserAgent = String.Format("World Wind v{0} ({1}, {2})",
  System.Windows.Forms.Application.ProductVersion,
  Environment.OSVersion.ToString(),
  System.Globalization.CultureInfo.CurrentCulture.Name);

What do we need in a user-agent string?

  1. World Wind
  2. WW version number
  3. Windows version
  4. .NET version
  5. Locale
Personal tools