Compact Framework Language: C # FrameWork 3.5
I have a client (pocket PC) and I want to send data to web service REST (https connection). I need to upload large files of several megabytes and then I have multiple connections by dividing the file into chunks. I do:
byte[] formData = new byte[...];
formDataStream.Read(formData, 0, (int) formDataStream.Length);
There is a parameter in the compact framework that tells me what is the maximum size that I can allocate in formData according to the device in use? If yes, what library could I use to get this parameter? In this way I could split the file in chunks of default size.