Upload Binary data as HTTP POST

Below is the ASP.NET C# implementation of Uploading binary data like images as POST request to target URL:

The binary data so posted can be retrieved on target post URL using below code:

This scenario is very handy specifically in establishing communication between two different web technologies. For example: You can POST image from flash to an ASP.NET web application where you can actually storing this image file.