Returning a File from a ASP.NET web api to android

view story

http://stackoverflow.com – I have a ASP.Net web api which is intended to send a new file over the internet encoded as Base64. To do so, I have a public exposed REST service: string imei = ControllerContext.Request.Headers.GetValues("IMEI").FirstOrDefault(); byte[] FileAsBytes = null; String base64 = null; var svcs = new CrudService.CrudServiceClient(); if (svcs.IsDeviceAccepted(imei)) { FileAsBytes = svcs.DownloadSoftwareVersion(); } if(FileAsBytes != null) { base64 = Convert.ToBase64String(FileAsBytes); } return base64; and a Private service, CRUD servi (HowTos)