C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







Working with Isolated Storage


Posted Date: 26 Jun 2008    Resource Type: Articles    Category: .NET Framework

Posted By: Shilpa Ginode       Member Level: Gold
Rating:     Points: 3



As we know that watever data we stored it gets stored in memory. If we are saving data in memory so for security purpose if our data is bit criticle one then we need to have access permission sets for allowing only certain user to access the data.Another way of storing the data is in Cache.Usually running program is less priviledges has many benifits.
It would be nice to have safe place to store the data of application without having to test whether application has access to store the data on hard drive.

Isolated storage provieds this benifits.
Isolated storage means to store the data or information in the safe place without needing to resort to have user grant permission to access specific file or directory on file system.
The main advantage of Isolated Stored in that your application can run regardless of whether it is running under partial or full trust.
For isolated storage there is class provided by .Net framework called IsolatedStorageFile class.
It provided the basic functionality to create files or directories in Isolated Storage.
Some of the methods exposed by this class are:
1. GetMachineStoreForAssembly() - it gets the machine level storage for the assembly which is calling this class.
2.GetMAchineStoreForDomain() - it gets the machine level storage for the appdomain in the assembly which is calling this class.

there are some more methods as:
GetMachineStoreForAPplication
GetStore
GetUserStoreForApplication
GetUserStoreForDomain
GetUserStoreForAssembly etc.

Hope this much introduction is helpful to you all.

Thanks
Shilpa




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: OPERATORS IN C# 2.0
Previous Resource: Export Data From Grid.
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

UK Conference calling Company

Contact Us    Privacy Policy    Terms Of Use