[Mono-list] System.Exception.Security when mixing mono with microsoft

Ofer Achler oachler@ucsd.edu
Wed, 24 Mar 2004 10:09:43 -0800


Hello,

I'm trying to write a program that uses the mono system.dll but with the
Microsoft runtime, but I'm getting an exception of type
System.Security.SecurityException wiwth additional information: security
error. On trying to resolve a hostname:

System.Net.IPHostEntry tmp = System.Net.Dns.GetHostByName(value);

Causes the error.

I've read this would be caused by not running the program locally, but it
is.  Any ideas?

Thank you =)