/usr/share/asp.net-demos/1.1/asp.net/browsercaps.aspx is in asp.net-examples 4.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104  | <%@ Page Language="C#" %>
<%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>
<%@ Import namespace="System.Reflection" %>
<style type="text/css">
<!--
.bold {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold
}
div.normal {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 11px;
    text-align: left;
}
.normal {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 11px;
    text-align: center;
}
.error {
    font-family: Verdana, Helvetica, sans-serif;
    color: red;
    font-size: 11px;
    text-align: center;
}
//-->
</style>
<script runat="server">
	void Page_Load (object o, EventArgs e) 
	{
		if (!IsPostBack) {
			PropertyInfo [] props = typeof (HttpBrowserCapabilities).GetProperties ();
			ArrayList list = new ArrayList ();
			Property.Browser = Request.Browser;
			foreach (PropertyInfo prop in props) {
				list.Add (new Property (prop));
			}
			list.Sort (new PropertyComparer ());
			dg.DataSource = list;
			dg.DataBind ();
		}
	}
	public class Property
	{
		PropertyInfo prop;
		static HttpBrowserCapabilities browser;
		public static HttpBrowserCapabilities Browser {
			set { browser = value; }
		}
		
		public Property (PropertyInfo prop)
		{
			this.prop = prop;
		}
		public string PropertyName {
			get { return prop.Name; }
		}
		public string PropertyValue {
			get {
				try {
					return prop.GetValue (browser, null).ToString ();
				} catch (Exception e) {
					return String.Format ("<div class=\"error\">Error: {0}</div>", e.Message);
				}
			}
		}
	}
	class PropertyComparer : IComparer
	{
		public int Compare(object x, object y)
		{
			return String.Compare (((Property)x).PropertyName, ((Property)y).PropertyName);
		}
	}	
</script>
<link rel="stylesheet" type="text/css" href="/mono-xsp.css">
</head>
<body><mono:MonoSamplesHeader runat="server"/>
<h3>HttpBrowserCapabilities</h3>
<form runat="server">
	<div class="normal">User agent: <%= Request.UserAgent %></div><br>
	<asp:datagrid id="dg" border="1" AutoGenerateColumns="false" EnableViewState="false" runat="server">
	    <Columns>
		<asp:BoundColumn HeaderText="Property" DataField="PropertyName"
			ItemStyle-Cssclass="normal"
			HeaderStyle-HorizontalAlign="Center" HeaderStyle-Cssclass="bold"/>
		<asp:BoundColumn HeaderText="Value" DataField="PropertyValue"
			ItemStyle-Cssclass="normal"
			HeaderStyle-HorizontalAlign="Center" HeaderStyle-Cssclass="bold"/>
	    </Columns>
	</asp:datagrid>
</form>
</body>
</html>
 |