Write a binary file





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

10
Date Submitted Wed. Sep. 27th, 2006 7:35 PM
Revision 1
Beginner finch
Tags CSharp | Down | Key | Trapping
Comments 1 comments
This code was something I used to monitor the keys that where press while a user would be entering text into a text box in my application. I monitored and watch for the user to hit the "Enter" key and then perform some task. Handy code for chat applications.
9
Date Submitted Tue. Sep. 19th, 2006 7:53 PM
Revision 1
Helper jbplou
Tags CSharp | Security | String
Comments 0 comments
Generates an 88 character secure hash string for the passed in strings.
4
Date Submitted Tue. Sep. 19th, 2006 5:09 PM
Revision 1
Helper jbplou
Tags . | CSharp
Comments 4 comments
A basic employee class
13
Date Submitted Thu. Sep. 14th, 2006 4:58 PM
Revision 1
Beginner ecliptic
Tags CSharp
Comments 0 comments
This snippet effectively reads an XML document using XPathDocument (read-only) instead of using the DOM. This snippet returns the full element values in between elements. For example:

root element
code element
This is a test.
/code element
/root element

GetXmlString("/root/code"); //returns 'This is a test.'
2
Date Submitted Tue. Sep. 12th, 2006 8:00 AM
Revision 1
Beginner dogo
Tags File | String
Comments 0 comments
This function loads an File into an String.
5
Date Submitted Sun. Sep. 10th, 2006 8:35 AM
Revision 1
Beginner jpereira1
Tags - | ASCII | binary | characters | encoding | malformed
Comments 1 comments
Find binary, malformed or non ascii characters in a file.
-8
Date Submitted Mon. Aug. 28th, 2006 9:43 AM
Revision 1
Helper axsaxs
Tags CSharp | filename | valid
Comments 2 comments
A function to determine if the input filename is valid on Win32 platforms (that is, it does not include invalid characters, such as :\?...)
-9
Date Submitted Mon. Aug. 28th, 2006 9:00 AM
Revision 1
Helper axsaxs
Tags binary | CSharp | File
Comments 1 comments
Write a set of bytes into a so-called binary file. The point is that we use BinaryWriter here and we have a byte array as input.
9
Date Submitted Thu. Aug. 24th, 2006 8:31 AM
Revision 1
Helper axsaxs
Tags Attribute | CSharp | read-only
Comments 0 comments
Set the read-only attribute of a file to true or false.
8
Date Submitted Fri. Aug. 4th, 2006 4:16 AM
Revision 1
Helper axsaxs
Tags File | I/O
Comments 0 comments
Class method to read a binary file and copy it to a byte array.