Beispiel #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);
        }
Beispiel #2
0
 static OSDirectoryManager()
 {
     OSDirectoryManager._instance = new OSDirectoryManager();
 }