\r
SecurityElement root = new SecurityElement ("IPermission");\r
\r
- root.AddAttribute ("class", this.GetType ().FullName + ", " + \r
- "System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089");\r
-\r
-/* \r
-GetType ().Module doesn't work yet with Mono.. (2002-04-27)\r
-We need to do it as below though, because this class can be extended\r
-\r
- root.AddAttribute ("class", this.GetType ().FullName + ", " + \r
- this.GetType ().Module.Assembly.FullName);\r
-*/ \r
+ root.AddAttribute ("class", this.GetType ().AssemblyQualifiedName);\r
root.AddAttribute ("version", "1");\r
if (m_noRestriction) {\r
root.AddAttribute ("Unrestricted", "true"); \r