Determing security demand for ServiceDescriptionImporter()
- From: "Keith Patrick" <richard_keith_patrick@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 21 Feb 2007 15:34:38 -0600
I'm trying to create an instance of
System.Web.Services.Description.ServiceDescriptionImporter (in .Net 1.1) in
an assembly that refuses all permissions and then requests the individual
ones it needs. Problem is, when I do this, I get a security demand as soon
as I call the method that contains a call to the constructor for
ServiceDescriptionImporter. When I look in the exception, the RefusedSet
property is null, so I have no idea which permission it needs. Only one I
see in the constructor for it are the ones to call Activator.CreateInstance,
and there are no documented permissions for either the 1.1 or 2.0 version of
the class.
Anyone know what permissions the ctor needs or how I can get an exception
that actually shows the refused permissionset?
.
- Follow-Ups:
- Re: Determing security demand for ServiceDescriptionImporter()
- From: Dominick Baier
- Re: Determing security demand for ServiceDescriptionImporter()
- From: Keith Patrick
- Re: Determing security demand for ServiceDescriptionImporter()
- Prev by Date: What endian should I expect for different crypto calls in .net 2?
- Next by Date: Re: Determing security demand for ServiceDescriptionImporter()
- Previous by thread: What endian should I expect for different crypto calls in .net 2?
- Next by thread: Re: Determing security demand for ServiceDescriptionImporter()
- Index(es):
Relevant Pages
|