public static void UploadWorldAnchorBlob(AzureStorageDetails storageDetails, string identifier, byte[] bits, Action <bool, byte[]> callback) { Debug.Log(string.Format("Uploading {0:G2}MB blob to Azure", bits.Length / (1024 * 1024))); var headers = new Dictionary <string, string>(); headers.Add("Content-Type", contentType); headers.Add("x-ms-blob-content-disposition", string.Format("attachment; filename=\"{0}\"", identifier)); headers.Add("x-ms-blob-type", "BlockBlob"); StorageRequest request = Auth.CreateAuthorizedStorageRequest( storageDetails, Method.PUT, storageDetails.GetFullPathForResource(identifier), null, headers, bits.Length); request.AddBody(bits, contentType); CoRoutineRunner.Instance.StartCoroutine(EnumerateRequest(request, callback)); }