// Tim Coleman (tim@timcoleman.com)\r
//\r
// Copyright (C) Tim Coleman, 2002\r
-
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
\r
-using System;\r
+using System.Security.Permissions;
\r
namespace System.Web {\r
+
+ // CAS
+ [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+ [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class ProcessModelInfo {\r
\r
#region Fields\r
#region Properties\r
\r
[MonoTODO ("Retrieve appropriate variables from worker")]\r
+ [AspNetHostingPermission (SecurityAction.Demand, Level = AspNetHostingPermissionLevel.High)]
public static ProcessInfo GetCurrentProcessInfo ()\r
{\r
DateTime startTime = DateTime.Now;\r
}\r
\r
[MonoTODO ("Retrieve process information.")]\r
+ [AspNetHostingPermission (SecurityAction.Demand, Level = AspNetHostingPermissionLevel.High)]
public static ProcessInfo[] GetHistory (int numRecords)\r
{\r
throw new NotImplementedException ();\r