HttpBrowserCapabilities.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. //
  2. // System.Web.HttpBrowserCapabilities
  3. //
  4. // Author:
  5. // Patrik Torstensson ([email protected])
  6. // Gonzalo Paniagua Javier ([email protected])
  7. //
  8. using System;
  9. using System.Web.Configuration;
  10. namespace System.Web {
  11. public class HttpBrowserCapabilities : HttpCapabilitiesBase
  12. {
  13. public HttpBrowserCapabilities()
  14. {
  15. }
  16. public bool ActiveXControls {
  17. get { return false; }
  18. }
  19. [MonoTODO()]
  20. public bool AOL {
  21. get { return false; }
  22. }
  23. [MonoTODO()]
  24. public bool BackgroundSounds {
  25. get { return false; }
  26. }
  27. [MonoTODO()]
  28. public bool Beta {
  29. get { return false; }
  30. }
  31. [MonoTODO()]
  32. public string Browser {
  33. get { return "Not Implemented"; }
  34. }
  35. [MonoTODO()]
  36. public bool CDF {
  37. get { return false; }
  38. }
  39. [MonoTODO()]
  40. public Version ClrVersion {
  41. get { return new Version (0, 0); }
  42. }
  43. [MonoTODO()]
  44. public bool Cookies {
  45. get { return true; }
  46. }
  47. [MonoTODO()]
  48. public bool Crawler {
  49. get { return false; }
  50. }
  51. [MonoTODO()]
  52. public Version EcmaScriptVersion {
  53. get { return new Version (0, 0); }
  54. }
  55. [MonoTODO()]
  56. public bool Frames {
  57. get { return true; }
  58. }
  59. [MonoTODO()]
  60. public bool JavaApplets {
  61. get { return false; }
  62. }
  63. [MonoTODO()]
  64. public bool JavaScript {
  65. get { return true; }
  66. }
  67. [MonoTODO()]
  68. public int MajorVersion {
  69. get { return 0; }
  70. }
  71. [MonoTODO()]
  72. public double MinorVersion {
  73. get { return 0.0; }
  74. }
  75. [MonoTODO()]
  76. public Version MSDomVersion {
  77. get { return new Version (0, 0); }
  78. }
  79. [MonoTODO()]
  80. public string Platform {
  81. get { return "mono::"; }
  82. }
  83. [MonoTODO()]
  84. public bool Tables {
  85. get { return true; }
  86. }
  87. [MonoTODO()]
  88. public Type TagWriter {
  89. get { throw new NotImplementedException (); }
  90. }
  91. [MonoTODO()]
  92. public string Type {
  93. get { return "4"; }
  94. }
  95. [MonoTODO()]
  96. public bool VBScript {
  97. get { return false; }
  98. }
  99. [MonoTODO()]
  100. public string Version {
  101. get { return "4.0"; }
  102. }
  103. [MonoTODO()]
  104. public Version W3CDomVersion {
  105. get { return new Version (0, 0); }
  106. }
  107. [MonoTODO()]
  108. public bool Win16 {
  109. get { return false; }
  110. }
  111. [MonoTODO()]
  112. public bool Win32 {
  113. get { return true; }
  114. }
  115. }
  116. }