memorystream
ICSharpCode.SharpZipLib.Zip example with crc variable details
I am using icsharpziplib dll for zipping sharepoint files using c# in asp.net When i open the output.zip file, it is showing \"zip file is either corrupted or damaged\".[详细]
2023-02-20 18:44 分类:问答Stream was not readable error
I am getting the message \"Stream was not readable\" on the statement: using (StreamReader sr = new StreamReader(ms))[详细]
2023-02-18 06:55 分类:问答Attach a file from MemoryStream to a MailMessage in C#
I am writing a program to attach a file to email. Currently I am saving file using FileStream into disk, and then I use[详细]
2023-02-17 14:03 分类:问答Create a "fake" file to pass in to Crystal Report API
Attempting to create a PDF from a Crystal Report file in C# using the Crystal Report API (version 13) - The API requires that the Crystal Report file be passed in as a file. I currently have the repor[详细]
2023-02-15 02:10 分类:问答MemoryStream from bytes array with different types of data
I want to create a memory stream which contains int32, int16, single values. Using binarywriter is useless so i tried to make bytes array. Because values are in different types, I don\'t know how to d[详细]
2023-02-10 09:09 分类:问答Reading Stream to a MemoryStream in multiple threads
I am stuck up in a place. I am reading a flv file from a URL. I am reading this to a Stream and then writing this Stream to a MemoryStream in a loop. When the code comes out of the loop, I am writing[详细]
2023-02-08 23:13 分类:问答ususual problem with system.net.mail attachment
I have an ususual problem with my attachment memorystream on a VB.net project. I am calling a shared member (SendMail) passing in a customer object and a memorystream of a file to be sent as a开发者_如[详细]
2023-02-06 18:53 分类:问答Why do these two methods of loading images from SQL CE into a WPF Image produce different results?
In a ValueConverter, I was trying to convert a System.Data.Linq.Binary (SQL CE image) to a BitmapImage. This method works (image is show correctly on the form):[详细]
2023-02-06 10:07 分类:问答C# change dpi of an uploaded image
I\'ve got to following function which is called to change the resolution of an image. I want to do this so uploaded image with for example 300dpi will be modified to 72dpi (for web). This question is[详细]
2023-02-05 17:30 分类:问答Ionic.Zip (DotNetZip) hangs with in save method with IO.MemoryStream
I\'ll try to create an zip file with the DotNetZip-Libary with 106 Images (675MB) with the following code:[详细]
2023-02-05 12:11 分类:问答