예제 #1
0
        internal static string FetchOrCreateRoot()
        {
            string rootFromHost = s_RootFromHost;

            if (s_RootFromHost == null)
            {
                string root = IsolatedStorageSecurityState.GetRootUserDirectory();
                s_RootFromHost = root;
            }

            CreatePathPrefixIfNeeded(s_RootFromHost);

            return(s_RootFromHost);
        }