title: Microsoft Azure: how get md5-hash of a blob in Java
body: <p>im storing some pictures in microsoft azure. the upload and download are working well. but i would like to verify the uploaded data with a md5-hash, independently from up- and downloading. so here is my code (the whole connection and account things works. container is also not null):</p>
  
  <pre><code>public String getHash(String remoteFolderName, String filePath) {
  
      CloudBlob blob = container.getBlockBlobReference(remoteFolderName + "/" + filePath);
  
      return blob.properties.contentMD5
  }
  </code></pre>
  
  <p>The problem is, that i always get null for each blob.
  am i doing it in the right the right way or are there other possibilities to get a md5-hash of a blob?</p>