Problem description
In use.When the Apsara Stack Network Operations Platform SDK uploads a file through the MemoryStream method, because the current position of the MemoryStream default file pointer is the tail of the stream, the file can be uploaded successfully, but the size of the file is 0.

Solutions
Before uploading the file, use the
mStream.Seek(0, SeekOrigin.Begin);to zero the file pointer. The code example is shown in the following figure.
Confirm that when you use the MemoryStream method to upload an object, the object size can be displayed.
