public static HttpWebResponse CreateResource(string resourceName)
 {
     return(RequestHelper.HttpRequest(URL.FullDiskPath + resourceName, RequestMethod.Put));
 }
 public static void TwiceCreateFolder(string pathToFolder)
 {
     RequestHelper.HttpRequest(URL.FullDiskPath + pathToFolder, RequestMethod.Put);
     RequestHelper.HttpRequest(URL.FullDiskPath + pathToFolder, RequestMethod.Put);
 }
 public static HttpWebResponse DeleteResource(string pathToResource, bool permanently)
 {
     return(RequestHelper.HttpRequest(URL.FullDiskPath + pathToResource + "&permanently=" + permanently, RequestMethod.Delete));
 }
        public static string CreateResourceReturnString(string resourceName)
        {
            HttpWebResponse response = RequestHelper.HttpRequest(URL.FullDiskPath + resourceName, RequestMethod.Put);

            return(RequestHelper.ReadHttpResponseString(response));
        }