A common utility for applications on.Net 4.0 and later