C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...





Posted Date: 06 Nov 2009      Posted By: tamil selvi      Member Level: Gold       Category: .NET Framework

runtime Security



You are developing a class library. Portions of your code need to access system environment
variables. You need to force a runtime SecurityException only when callers that are higher in the call stack do not have the necessary permissions. Which call method should you use?


Select Answer:

set.Demand();
set.Assert();
set.PermitOnly();
set.Deny();




      
Your Test Score: 0 / 0



Next Question: Byte array
Previous Question: What types of data can a GZipStream compress?
Related Questions:
  • which is not a runtime host in .Net Framework?


  • To test a Web service you must create a windows application or Web application to consume this service


  • What is the last stage of the Web Form's Life Cycle?


  • Which class can be used to perform data type conversion between .NET data types and XML types?


  • After stopping at a breakpoint, what key do is used to continue running application ONE LINE AT A TIME in a stepping in manner?


  • Categories

    ASP.NET C# VB.NET 
    .NET Framework SQL Server Other 
    Java 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use