System.BitConverter Class
Information   Base Types   Related Resources

Converts base data types to an array of bytes, and an array of bytes to base data types.

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

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (2)Discussions (228)MembersRotorChanges
    Articles

    Page: 1
    Avoiding spam-bots
    The Code Project
    Prevent spam-bots from harvesting email addresses in web pages.
    C# CRC-32
    GotDotNet
    Provides a sample of calculating the 32-bit cyclic redundancy check with C#. Included within the file is a strong-name-signed copy of the 1.0.1.0 assembly (built on the .NET Framework 1.1), XML documentation file, an NDoc-generated HTML help file, and the complete source code. It *should* be compatible with all versions of the .NET Framework, though. One of the design decisions was to return data in the form of a byte array from the Crc32() methods. This decision was made to ensure CLS compliance; a C# developer might want to use a uint, whereas a VB .NET developer might want to use an Integer. Just use the BitConverter class to convert between them.
    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