I have an asmx method that accepts a list of files like so:
[WebMethod]
public void UploadFiles(List<byte[]> files)
{
}
The Windows metadata is not included in the byte array. I tried using Dictionary<filename, byte[]>
but classes that implement IDictionary
are not serializable. I also tried using KeyValuePair<string, byte[]>[]
but IMO it looks dirty.
Are there other ways to include the name of the file?