Evilripper Blog

A programmer's work is never done

  • Home
  • Downloads
  • News
  • Wallpapers
  • About Me

21

Apr

How To Write Bytes To File C#

Posted by evilripper  Published in CSharp, development

Many times I needed write an array bytes in a file, the following method is most simple:

using (System.IO.Stream s = System.IO.File.Create(@"c:\filename"))

{

s.Write(Bytes, 0, Bytes.Length);

}

 

source code:

Continue reading...

1 comment

Multilanguages

  • English
  • Italiano

My Flikr

Flickr in the skyInto the whiteiced treesthe thin white lineiced treeSit a momentA lampiced treecollectionHot day :-D

Social Connection







Affiliates & Sponsor

Add to Technorati Favorites

Il Bloggatore


BlogItalia.it - La directory italiana dei blog

Tophost Hosting

7,546 spam comments
blocked by
Akismet

Locations of visitors to this page

Blogroll

  • Rocco Blog
  • jumping head shot
  • The Developers
  • gyf.it
  • lu01 rock band
  • Michele Focchi

Categories

  • database (1)
  • development (13)
    • CSharp (4)
    • delphi (2)
    • javascript (1)
    • php (5)
    • vb.net (1)
  • hacking (2)
  • hardware (12)
    • mobile (1)
  • internet (40)
    • cms (1)
    • google (9)
    • wordpress (1)
  • linux (5)
    • gentoo (4)
  • microsoft (2)
  • Senza categoria (3)
  • software (8)
  • videogames (6)
    • unreal tournament 3 (1)
  • winXp (2)

Archives

  • March 2010 (2)
  • February 2010 (6)
  • January 2010 (6)
  • December 2009 (4)
  • November 2009 (1)
  • October 2009 (5)
  • September 2009 (3)
  • July 2009 (2)
  • May 2009 (1)
  • April 2009 (1)
  • March 2009 (2)
  • February 2009 (1)
  • January 2009 (2)
  • December 2008 (3)
  • November 2008 (4)
  • September 2008 (3)
  • June 2008 (3)
  • May 2008 (1)
  • April 2008 (1)
  • March 2008 (1)
  • February 2008 (4)
  • January 2008 (4)
  • December 2007 (2)
  • November 2007 (4)
  • October 2007 (7)
  • September 2007 (7)
  • August 2007 (2)
  • July 2007 (1)
  • June 2007 (2)

Recent Entries

  • Hackers are not crackers
  • FileZilla Password Recovery
  • Google guilty for violation of privacy
  • Google Chrome bug Error 0xc0000005
  • Windows7 Targets Cracked Activations
  • The Pirate Bay Ip Filtered In Italy!
  • Share With Google Buzz
  • Best Free Online Games
  • Spreaker a new radio 2.0
  • Mobile as Router Wi-fi

Recent Comments

  • Andrea Carnera in AmigaOne X1000 Amiga came back?<…
  • GREY_FOX in Hackers are not crackersGoogle guilty for violation of privacyaddalo.it in Google guilty for violation of privacy
  • diggita.it in Google guilty for violation of privacy
  • GREY_FOX in Google guilty for violation of privacy
  • Elena in Spreaker a new radio 2.0AmigaOne X1000 Amiga came back?<…">luca in AmigaOne X1000 Amiga came back?<…
  • Daniele in AmigaOne X1000 Amiga came back?<…
  • Daniele in Share With Google Buzz…
  • addalo.it in The Pirate Bay Ip Filtered In Italy!