S
sazonov dmitry
I started to use FxCop and it is a pain: code security.
FxCop told me to add minimum security and my code is not
working anymore.
now it crashing on
string machine = System.Environment.MachineName;
I tried to add
[assembly: EnvironmentPermission
(SecurityAction.RequestMinimum, Unrestricted=true)]
but it did not help. What should I do?
thanks
FxCop told me to add minimum security and my code is not
working anymore.
now it crashing on
string machine = System.Environment.MachineName;
I tried to add
[assembly: EnvironmentPermission
(SecurityAction.RequestMinimum, Unrestricted=true)]
but it did not help. What should I do?
thanks