Hacker’s diary

I had a “Java update available” icon on my task bar for a while. Finally I decided to install it. I thought it would be something like a service pack […]

I wanted to create a logger that writes either to a file, or to the System.Diagnostics.Trace. To my astonishment, I found that .NET class library does not have a TextWriter […]

I was playing with .NET 2.0 unmanaged hosting API. I am trying to customize assembly loading and “fix” some assemblies on the fly. I found an interesting gotcha, that I […]

I am playing with the binary format of .NET assemblies, described here. .NET metadata is stored inside regular Windows executable PE file. I explored PE file format in detail when […]