From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Format:.NET resources (.resources)" |
|---|
| claim | "A .resources stream (also the content of the managed resource <Name>.resources) starts with the little-endian int32 0xBEEFCACE (bytes CE CA EF BE), followed by int32 header version (1), int32 number of bytes to skip and the reader and resource-set type names." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:.NET resources (.resources)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "resources_magic" |
|---|
| pattern | "CE CA EF BE" |
|---|
| matches | "start of a .resources stream; then int32 header version, int32 bytes to skip, reader type name, resource set type name" |
|---|
| offset | 0 |
|---|
| multiple | false |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "MagicNumber and ResMgr header comment" |
|---|
| repo | "https://github.com/dotnet/runtime" |
|---|
| commit | "9b1b0e9c699a54a2b8e8241bbc2ab650bd89d819" |
|---|
| path | "src/libraries/System.Private.CoreLib/src/System/Resources/ResourceManager.cs" |
|---|
| lines | "127-136" |
|---|
|
| type | "source" |
|---|
| detail | "_ReadResources checks the magic and parses the header" |
|---|
| repo | "https://github.com/dotnet/runtime" |
|---|
| commit | "9b1b0e9c699a54a2b8e8241bbc2ab650bd89d819" |
|---|
| path | "src/libraries/System.Private.CoreLib/src/System/Resources/ResourceReader.cs" |
|---|
| lines | "796-832" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Magic number" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T20:03:21.231Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:10.240Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ResourceManager.cs at 9b1b0e9c lines 127-136: MagicNumber = unchecked((int)0xBEEFCACE), header = magic, HeaderVersionNumber (1), bytes to skip, reader type name, resource set type name (all little-endian / length-prefixed UTF-8); LE bytes CE CA EF BE. ResourceReader.cs lines not re-read." |
|---|
|
|
|---|