Question:You are writing an application that uses isolated storage to store user preferences.
The application uses multiple assemblies.
Multiple users will use this application on the same computer.
You need to create a directory named Preferences in the isolated storage area that is scoped to
the current
Microsoft Windows identity and assembly.
Which code segment should you use? - (VB.Net) 

A Dim store As IsolatedStrongFile
store = IsolatedStorageFile.GetUserStoreForAssembly()
store.CreateDirectory("Preferences") 

B Dim store As IsolatedStrongFile
store = IsolatedStorageFile.GetStoreForAssembly()
store.CreateDirectory("Preferences") 

C Dim store As IsolatedStrongFile
store = IsolatedStorageFile.GetUserStoreForDomain()
store.CreateDirectory("Preferences") 

D Dim store As IsolatedStrongFile
store = IsolatedStorageFile.GetMachineStoreForApplication()
store.CreateDirectory("Preferences") 

+ Answer
+ Report
Total Preview: 1004

Copyright © 2024. Powered by Intellect Software Ltd