F
fred
i wrote this small application:
----------------------------------------------
using System;
using System.Reflection;
using System.Collections;
using System.Security.Policy;
namespace SecTest
{
class DisplayEvidences
{
static void Main(string[] args)
{
Assembly assembly = Assembly.LoadFrom(args[0]);
enumerator = assembly.Evidence.GetEnumerator();
while (enumerator.MoveNext())
{
enumerator.Current.ToString();
}
Console.Read();
}
}
}
----------------------------------------------------
I also have a helloworld.exe test application.
But whatever the location of helloworld.exe (c:\,
C:\Inetpub\wwwroot, http:\\localhost ...) evidences are
never displayed.
Can anybody explain me why?
thank you for replying
----------------------------------------------
using System;
using System.Reflection;
using System.Collections;
using System.Security.Policy;
namespace SecTest
{
class DisplayEvidences
{
static void Main(string[] args)
{
Assembly assembly = Assembly.LoadFrom(args[0]);
enumerator = assembly.Evidence.GetEnumerator();
while (enumerator.MoveNext())
{
enumerator.Current.ToString();
}
Console.Read();
}
}
}
----------------------------------------------------
I also have a helloworld.exe test application.
But whatever the location of helloworld.exe (c:\,
C:\Inetpub\wwwroot, http:\\localhost ...) evidences are
never displayed.
Can anybody explain me why?
thank you for replying