BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
string fullPath = Path.Combine(Server.MapPath("~/temp"), file);
byte[] fileByteArray = System.IO.File.ReadAllBytes(fullPath);
System.IO.File.Delete(fullPath);
return File(fileByteArray, "application/vnd.ms-excel", file); |