Example #1
0
 public static void CreateAllEndPoints(String solutionFolder, BMWebDAV.FileSystem davRoot = null)
 {
     if (davRoot == null)
         CreateAllEndPointsInternal(solutionFolder, new BMWebDAV.DiskFileSystem(solutionFolder));
     else
         CreateAllEndPointsInternal(solutionFolder, davRoot);
 }
Example #2
0
        private static void CreateAllEndPointsInternal(String solutionFolder, BMWebDAV.FileSystem davRoot)
        {
            //system end point
            CreateSystemEndPoint();

            //license end point
            CreateLicenseEndPoint();

            //webdav init
            BMWebDAV.BMWebDAVModule.Init(new BMWebDAV.DiskFileSystem(solutionFolder));

            //solutions
            foreach (String dir in System.IO.Directory.EnumerateDirectories(solutionFolder))
            {
                String s = new System.IO.DirectoryInfo(dir).Name;
                CreateEndPoints(s);
            }

            Common.Crypt.ReadLicenses();
        }