I have a REST service that reads a file and sends it to another console application after converting it to Byte array and then to Base64 string. This part works, but when th
And some times it started with double quotes, most of the times when you call API from dotNetCore 2 for getting file
string string64 = string64.Replace(@"""", string.Empty); byte[] bytes = Convert.ToBase64String(string64);