popskie
Nov 17th, 2006, 03:05 AM
HI to all,
I encountered this type of coding and Im not familiar with this one. I read the MSDN but I could not get the idea. This is the reason I'm posting this one in the forums hoping someone can help save me to understand and if posible please describe or discuss this literally and please provide a sample.
[assembly:FileIOPermissionAttribute(SecurityAction.RequestOptional, Read=@"C:\boot.ini")]
versus
[assembly:FileIOPermissionAttribute(SecurityAction.RequestMinimum, Read=@"C:\boot.ini")]
and also Demand vs Assert?
thanks,
Popskie
I encountered this type of coding and Im not familiar with this one. I read the MSDN but I could not get the idea. This is the reason I'm posting this one in the forums hoping someone can help save me to understand and if posible please describe or discuss this literally and please provide a sample.
[assembly:FileIOPermissionAttribute(SecurityAction.RequestOptional, Read=@"C:\boot.ini")]
versus
[assembly:FileIOPermissionAttribute(SecurityAction.RequestMinimum, Read=@"C:\boot.ini")]
and also Demand vs Assert?
thanks,
Popskie