W
web1110
Hi,
I set up my wifes machine to run .NET, some of my stuff runs but not all.
First example:
I have a windows program that displays environment info. It runs fine on my
machine. Whan I run it on my wifes' machine over the network it fails on
the statement:
values.Add ("WorkingSet: " + System.Environment.WorkingSet.ToString());
It gave the error message (most of it is shown):
The application attempted to perform an operation not allowed by the
security policy. The operation required the SecurityException. To grant
this application the required permission ... or use the Microsoft .net
security policy administratiopn tool
Request for the permission of type
System.Security.Permissions.EnvironmentPermissions, mscorlib
Version n1.0.5000.0 Culture=neutral
Public key token ... failed
How do I get round this?
Thanx,
Bill
I set up my wifes machine to run .NET, some of my stuff runs but not all.
First example:
I have a windows program that displays environment info. It runs fine on my
machine. Whan I run it on my wifes' machine over the network it fails on
the statement:
values.Add ("WorkingSet: " + System.Environment.WorkingSet.ToString());
It gave the error message (most of it is shown):
The application attempted to perform an operation not allowed by the
security policy. The operation required the SecurityException. To grant
this application the required permission ... or use the Microsoft .net
security policy administratiopn tool
Request for the permission of type
System.Security.Permissions.EnvironmentPermissions, mscorlib
Version n1.0.5000.0 Culture=neutral
Public key token ... failed
How do I get round this?
Thanx,
Bill