• .Net

    Man in the middle C# Attacks

    by  • March 23, 2012 • .Net, Programming • 0 Comments

    Previously I discussed the idea of creating a Man-in-the-middle style tools for analysing or compromising C# assemblies. In this blog post I go one step further and create a rough proof of concept demonstrating the possibility. It should be noted that there are ways of easily preventing this sort of attack which I have...

    Read more →

    Asynchronous Programming in C# 5

    by  • March 21, 2012 • .Net, Programming • 0 Comments

    With each new version of C# we see some great new additions. In version 2 we saw the introduction of generics, and in 3 we saw LINQ. In version 5 we are seeing some new features to handle the rise of SaaS (Software as a service), the forefront of this is asynchronous programming. An...

    Read more →

    Demystifying CLR20r3 error messages.

    by  • March 1, 2012 • .Net, Programming • 5 Comments

    Microsoft has come a long way since the error messages that they put into Windows 95. I think most people can remember when the ‘This program has performed an illegal operation’ dialog appears. The problem is that most people, even sometimes us programmers can not understand the error messages when they occur. So I...

    Read more →

    OpCodes, MSIL and Reflecting .NET code.

    by  • February 24, 2012 • .Net, Programming • 1 Comment

    Extracting the raw MSIL code and OpCodes that make up a .NET Assembly isn’t impossible but its not that straight forward. Having access to the MSIL is great to see what is going on under the hood in .NET. If you want to know more I would strongly suggest getting CLR via C#, this...

    Read more →

    Bit level functionality in C#

    by  • February 17, 2012 • .Net, Articles, Programming • 5 Comments

    Low level operations are commonplace for embedded developers but usually are overlooked by application level developers, but they still offer some useful quirks. After reading a few articles I decided to port some of the most common and useful bit level hacks to C#. More information about the built in operators that are found...

    Read more →

    WinRT …COM by any other name?

    by  • February 14, 2012 • .Net, Programming • 2 Comments

    At the 2011 Build conference Microsoft announced the introduction of a new programming model for Windows as part of their shifting support towards Windows 8 and Metro apps. This new programming model is called Windows Runtime or WinRT. WinRT itself is not a new programming language but a COM-based API set which can be...

    Read more →

    Bug Fixing and Tracking with Reflection

    by  • January 29, 2012 • .Net, Programming • 0 Comments

    If you ever meet a programmer that tells you that they code everything perfect first time and don’t need to do any testing or bug fixing, you should slowly roll up a newspaper (if you have one handy) and hit them over the head while saying ‘No ….no’. There is a tiny amount of...

    Read more →