Clarification
This question is, not a duplicate of the linked suggest as this is a UWP based issue where System.Data.Linq namespace cannot be referenced. This was closed as a duplicate question previously however this is a different problem. This isn't standard .NET, it is the Universal Windows Platform
How does one convert a base64 string to System.Data.Linq.Binary
type within UWP.
The issue is occuring when I am attempting to send data over to my WCF service which is using a linq to sql datacontext class. The field in the database is the image
type and the class created by the linq to sql datacontext changes the type to System.Data.Linq.Binary
rather than byte[]
(which is what I was using when it was a manually created class.
So far my attempts have been fruitless. Normally I would send it over as byte[], however if i use Convert.FromBase64String(mystring)
I get the error
unable to implicitly convert byte[] to System.Data.Linq.Binary
Clarification
This question is, not a duplicate of the linked suggest as this is a UWP based issue where System.Data.Linq namespace cannot be referenced.