By which command we can turn-off and turn-on CAS
By which command we can turn-off and turn-on CAS?
Expert
Code Access Security Tool (Caspol.exe) can be used to turn security on and off. To use Caspol.exe, we first need to set the <LegacyCasPolicy> element to true.
To turn on security, we can type the command at the command prompt which is as follows:
caspol -security on
To turn off security, we can type the command at the command prompt which is as follows:
caspol -security off
What is the root namespace for fundamental types in .NET Framework?
Is it possible to declare a private class in a namespace?
Explain the use of a toolstrip container?
Differentiate between the Finalize() and Dispose()?
Name the latest features that added in .NET Framework 4.0?
How to identify that whether any changes are made or not to a DataSet object while it was last loaded?
How to make a windows desktop application using visual studio 2010 ultimate?
How can you avoid a class from overriding in C# and Visual Basic?
Explain the disconnected architecture of the ADO.NET's data access model.
Write the advantages of the code-behind feature?
18,76,764
1939499 Asked
3,689
Active Tutors
1441516
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!