I have an application written in C # that is located on a network share. When I run it from a local drive, everything works fine. When I launch it from remote access, calls like
try
{
System.Reflection.Assembly.GetExecutingAssembly();
System.IO.Directory.GetCurrentDirectory();
}
throw a SecurityException 'Request' request.
What causes this, what is the difference between an application that runs locally and one that starts from a remote location?
source
share