Fixed .NET registration detection. Previous method was producing false positives.