System.Resources.ResourceManager.MagicNumber Field

Holds the number used to identify resource files.

Value: -1091581234

Syntax

public static readonly int MagicNumber

Remarks

The value is set to 0xBEEFCACE. The first four bytes of the system default file format contain a 32-bit signed integer in little-endian format (see System.Text.Encoding).

If the ResourceManager.MagicNumber is found, the bytes following it will be a version number for a System.Resources.ResourceManager header, followed by a number indicating how many bytes should be skipped to get past this header. The next number indicates the version of the System.Resources.ResourceManager that created the header, followed by version specific information.

The version number for the current implementation is one. The next bytes are a length-prefixed string containing the name of an System.Resources.IResourceReader, which can read this file.

Requirements

Namespace: System.Resources
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0