System.IO.FileStream Class
Information   Base Types   Related Resources

Exposes a Stream around a file, supporting both synchronous and asynchronous read and write operations.

  • Namespace: System.IO
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.1.4322
  • Assembly: mscorlib.dll

  • System.IO.Stream
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (146)Discussions (1471)MembersRotorChanges
    Articles

    Page: 123456
    .NET - More on Generics in the CLR
    MSDN
    More on Generics in the CLR
    A C# Web Spider written as a Web Service
    C#Today
    A Web Spider is a program that is used to navigate sites, follow links and collect various information. It is sometimes called a Web Robot. In this article. ST Tan & Aldy Karna discuss the subject, and show how a Web Spider can be written in C#.
    A Meal Reminder in C#
    C# Help
    A PDF Forms Parser
    The Code Project
    A Parser for PDF Forms written in C#.NET
    A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 4
    The Code Project
    The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid
    A Reusable, Flexible Error Reporting Framework
    The Code Project
    Using configuration classes and simple implementation, this library allows your applications a flexible method of reporting errors that happen. Included is a Windows XP-like WinForms UI that allows users the ability of opting for error reporting in WinForms applications.
    A Simple wget-clone (WebGet) Using C#
    The Code Project
    Well, I guess most of you have used or at least heard of wget which is the linux prog that lets us download files from the internet. You can simply give the following command :- wget http://colorado/files/nish1.zip and the file will be downloaded. Pretty useful huh. You won't have to worry too much about your boss finding out that you are downloading that new mp3 clip instead of finishing that last part of the design which he was supposed to do, but that which he thrust down your throat.
    A Suite of Cryptographic Objects Part 2: Implementing Key Exchange Over a Network
    C#Today
    Throughout the whole history of Cryptography one element has continually created the most difficulty: Key Exchange. In this article, Richard Conway looks at the idea and implementation of Key Exchange over a network, bringing together the elements that we have discussed so far in the previous article (with respect to symmetric key cryptography) and also introduces concepts of public key cryptography. We demonstrate the use of this by creating a secure chat application.
    Access multiple icons in a single icon file
    The Code Project
    A class to help you access the images in an ICO file
    Add XML Functionality in Microsoft Office Excel 2003 from Microsoft Visual Basic .NET
    MSDN
    Discover how to generate XML from a dataset, format the XML using a Stylesheet, and then use code to open the transformed XML.
    Advanced Data Access with ADO.NET and Oracle
    MSDN
    Learn how to use ADO.NET 1.1 to retrieve data from complex Oracle data types.
    An Event to Remember
    MSDN
    Last month, we talked about performance and boxing. One of the questions that came up from a reader was why the Perl version is so much faster than the C# version. One answer is that Perl is very good at what it does. One reader pointed out that I had forgotten to tell the Regex to compile the regular expression rather than interpret it on every match. In Beta 1, this is done by passing "c" as the second parameter to the Regex constructor (there's an enum to do the same thing in Beta 2). This cuts the overhead nearly in half, and reduces the elapsed time for the fastest version down to a little less than 7 seconds.
    An XML based dynamic runtime GUI generator
    The Code Project
    Generate controls, set property values, and wire up event handlers at runtime from an XML definition.
    ASP .NET Security Issues
    MSDN
    This month I'm starting a series of columns dedicated to security in the Microsoft® .NET Framework, and I figured that the best place to start would be one of its most popular features, ASP .NET.
    BETA-HOWTO: Transfer XML Data to Microsoft Excel 2002 Using Visual C# .NET (Q307029)
    Microsoft Support
    Excel 2002 introduces functionality for opening files in the Extensible Markup Language (XML) format. An XML file that is well-formed can be opened directly in Excel 2002 by using either the user interface or code. With Visual C# .NET, you can take advantage of Excel's XML functionality to seamlessly transfer data to a workbook to present the data with formatting and an arrangement of your choice. This article demonstrates how to accomplish this task.
    Build a Versatile .NET Code Execution Timer / Logger
    Egg Head Cafe
    When you build ASP.NET applications that have multiple assemblies and a lot of business logic going on, it becomes extremely valuable to be able to trace and log the execution times of various operations within the application, and log them to a file or database where items can be grouped by function, calling assembly, time, elapsed time, method name and so on.
    Building a real-life web-experience : Don´t trip over the threads.
    DotNetJunkies
    In my previous contribution I took a look at calling web-services. There I showed how to asynchronously invoke a web-service from a Windows form. Behind the scenes the project involved a lot of threading issues. The .NET framework is very good at handling these but there is one thing I overlooked. In this paper I will dive deeper into the matter and build build a more complicated service which serves jpeg pictures. A windows form consumer will make asynchronous invocations of the web-service to
    Building Practical Solutions with EXSLT
    MSDN
    Oleg Tkachenko shows how to make XML programming easier, and explains how to boost your productivity using XSLT and XPath extensions provided by the EXSLT.NET library.
    C Sharp MP3 Compressor
    The Code Project
    C Sharp MP3 compressor using "lame_enc.dll" from the LAME project.
    C# From a Java Developer's Perspective
    http://www.25hoursaday.com/
    What follows is an overview of similarities and differences between the language features and libraries of the C# and Java programming languages based on my experience using both languages. All code snippets below were tested on Microsoft's .NET Framework Beta 2 for C# snippets and Java™ 2, Standard Edition (J2SE™) version 1.4 Beta 2 for the Java snippets.
    C# Photo Album Viewer
    The Code Project
    This sample is a C# Windows application that uses a SQL Server 2000 database to store and retrieve images. Images are organized under albums in a treeview and displayed in a picturebox when selected. An static control is used to display a description of the album or image. Context menus on the treeview allow the user to add, rename, and delete images or albums. Descriptions can also be edited by selecting a context menu item.
    Capture Messages With Trace Listeners
    Visual Studio Magazine
    When using Debug and Trace messages in your application, the output messages are sent to any Listener object defined in the Listeners collection. When debugging and tracing is enabled, a default listener class called DefaultTraceListener is automatically created and initialized. The DefaultTraceListener object will output any messages received to the Output window if you're running your application in Visual Studio .NET, under debug mode.
    Choosing Among File I/O Options in Visual Basic .NET
    MSDN
    This article is aimed at the Visual Basic programmer who may be confused by the multiplicity of ways to approach file I/O in Visual Basic .NET. Available alternatives include the methods provided in the Visual Basic .NET runtime, the FileSystemObject, and the methods furnished in the common language runtime. Upon completion, the experienced developer will be familiar with all three and will be equipped to make choices among them.
    Code Access Security
    C#Today
    With the .NET strategy evangelizing loosely coupled component development, the designers of .NET had to come up with security strategies that helped to control these potentially dangerous components. The .NET framework introduces two main models for securing your application: code based security, and role based security. In this article, the first of a week-long topic on security, Kaushal Sanghavi discusses the .NET frameworks for security, and demonstrates how we can use permissions in code. Later in the week, he will also tackle custom security permissions, custom security implementation, and integrating COM+ and .NET security schemes.
    Code Generation in the .NET Framework Using XML Schema
    MSDN
    Learn the difference between typed datasets and classes generated by the xsd.exe tool. Extend this process by reusing the infrastructure classes supporting it, staying compatible with the XmlSerializer.
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com