VB.Net by API/System.IO.IsolatedStorage/IsolatedStorageScope
IsolatedStorageScope.Assembly
<source lang="vbnet"> Imports System.IO.IsolatedStorage
Public Class Tester
Public Shared Sub Main Dim myIsoStore As IsolatedStorageFile Dim myISS As IsolatedStorageScope Try myISS = IsolatedStorageScope.Domain Or IsolatedStorageScope.Assembly Or IsolatedStorageScope.User myIsoStore = IsolatedStorageFile.GetStore(myISS, Nothing, Nothing) Catch ex As IsolatedStorageException Console.WriteLine(ex.Message) End Try End Sub
End Class
</source>
IsolatedStorageScope.Domain
<source lang="vbnet"> Imports System.IO.IsolatedStorage
Public Class Tester
Public Shared Sub Main Dim myIsoStore As IsolatedStorageFile Dim myISS As IsolatedStorageScope Try myISS = IsolatedStorageScope.Domain Or IsolatedStorageScope.Assembly Or IsolatedStorageScope.User myIsoStore = IsolatedStorageFile.GetStore(myISS, Nothing, Nothing) Catch ex As IsolatedStorageException Console.WriteLine(ex.Message) End Try End Sub
End Class
</source>