Top "Filestream" questions

In .NET framework filestream exposes a Stream around a file, supporting both synchronous and asynchronous read and write operations.

Could not find a part of the path C#

My application in winforms c# and my form need to retrieve the image from database and store in the local …

c# .net winforms filestream system.io.file
How do I load a string into a FileStream without going to disk?

string abc = "This is a string"; How do I load abc into a FileStream? FileStream input = new FileStream(.....);

c# filestream
Best way to store images for a website

Can someone guide me on the best way to store images for my website. Im making my first MVC website, …

asp.net-mvc image filestream
FileStream with DeleteOnClose File option

In my project I have to create some temp files in an USB device, which I want to delete on …

c# .net filestream
Why does BinaryWriter prepend gibberish to the start of a stream? How do you avoid it?

I'm debugging some issues with writing pieces of an object to a file and I've gotten down to the base …

c# binarywriter filestream .net
Save Icon File To Hard Drive

I know that this must be incredibly easy - It's unbelievable how long I have searched for an answer to …

c# icons save filestream extract
How to Save IFormFile to SQLServer FileStream Table

So either no one has tried to do this yet or I am just not finding anything on it. The …

c# asp.net-core-mvc filestream sqlfilestream
FileStream with locked file

I am wondering if it's possible to get a readonly FileStream to a locked file? I now get an exception …

c# .net c#-4.0 filestream filelock
stream.CopyTo - file empty. asp.net

I'm saving an uploaded image using this code: using (var fileStream = File.Create(savePath)) { stream.CopyTo(fileStream); } When the image …

c# asp.net filestream
Reusing a filestream

In the past I've always used a FileStream object to write or rewrite an entire file after which I would …

c# .net file-io filestream