public void CreateDirectory(string directoryName)
        {
            directoryName = StorageUtils.NormalizeDirectoryName(directoryName);
            CloudBlockBlob blob = PublicContainer.GetBlockBlobReference(directoryName);

            blob.UploadFromByteArrayAsync(Array.Empty <byte>(), 0, 0).GetAwaiter().GetResult();
        }
        private CloudBlockBlob GetCloudBlockBlob(string externalFileName, GxFileType fileType)
        {
            CloudBlockBlob blob;

            if (fileType.HasFlag(GxFileType.Private))
            {
                blob = PrivateContainer.GetBlockBlobReference(externalFileName);
            }
            else
            {
                blob = PublicContainer.GetBlockBlobReference(externalFileName);
            }

            return(blob);
        }