User-Agent

From World Wind Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:49, 17 February 2005 (edit)
Llynix (Talk | contribs)
(added mozilla)
← Previous diff
Revision as of 02:50, 17 February 2005 (edit) (undo)
Jessi (Talk | contribs)

Next diff →
Line 2: Line 2:
World Wind v1.2.1873.34143 (Microsoft Windows NT 5.1.2600.0, en-US) World Wind v1.2.1873.34143 (Microsoft Windows NT 5.1.2600.0, en-US)
- 
Mozilla user agent: Mozilla user agent:
Line 10: Line 9:
Current Code: Current Code:
-static readonly string UserAgent = String.Format("World Wind v{0} ({1}, {2})",+WebDownload\WebDownload.cs, WebDownload:IDisposable
 + 
 + static readonly string UserAgent = String.Format("World Wind v{0} ({1}, {2})",
System.Windows.Forms.Application.ProductVersion, System.Windows.Forms.Application.ProductVersion,
Environment.OSVersion.ToString(), Environment.OSVersion.ToString(),
System.Globalization.CultureInfo.CurrentCulture.Name); System.Globalization.CultureInfo.CurrentCulture.Name);
 +
 +What do we need in a user-agent string?
 +# World Wind
 +# WW version number
 +# Windows version
 +# .NET version
 +# Locale

Revision as of 02:50, 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

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