Пример #1
0
        public static string GetRootPath(string root)
        {
            string rootPath = OSDirectoryManager.TryGetRootPath(root);

            if (rootPath == null)
            {
                throw new Exception(String.Format("Root:{0}, Access Denied!", root));
            }

            return(rootPath);
        }
Пример #2
0
 static OSDirectoryManager()
 {
     OSDirectoryManager._instance = new OSDirectoryManager();
 }