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? 

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

B Dim objStore As IsolatedStorageFile objStore = IsolatedStorageFile.GetUserStoreForApplication objStore.CreateDirectory("Preferences") 

C Dim objStore As IsolatedStorageFile objStore = IsolatedStorageFile.GetMachineStoreForAssembly objStore.CreateDirectory("Preferences") 

D Dim objStore As IsolatedStorageFile objStore = IsolatedStorageFile.GetUserStoreForDomain objStore.CreateDirectory("Preferences") 

+ Answer
+ Report
Total Preview: 1010

Copyright © 2024. Powered by Intellect Software Ltd