Port of SleepyHead to .NET