Example #1
0
        public static Folder getFolderByHash(string hash, string userLogin)
        {
            var c = CloudClientChannel.GetFolder(hash, userLogin);

            foreach (var el in fList)
            {
                c.Content.Item2.Add(el);
            }
            //c.Content.Item2.Add(new File { Name="1.mp4" });
            return(c);
        }
Example #2
0
        public static WcfClassesLib.Folder getRootFolder(string userLogin)
        {
            CLog.Log("getRootFolder()");

            if (CloudClientChannel == null)
            {
                CreateCloudClientChannel();
            }

            return(CloudClientChannel.GetFolder("root", userLogin));
        }