You are currently browsing the Alex Lowe on Software and Startups weblog archives for the 'Code' category.

Network Link Detection in C#

This code snippit will show you how to detect if there is a network link on one of the network adaptors on your system. The function is written in C# and uses the Windows Management Instrumentation to get the link status.

/// <summary>
/// Checks if a network is connected to the local machine.
/// </summary>
/// <returns>true if […]


Fixing “The application failed to initialize properly (0xc0000135)”

When attempting to run Microsoft .Net based applications, like many of those available from http://www.lowesoftware.com, you may get the following error on startup:
The application failed to initialize properly (0xc0000135)
The cause of this error is that the Microsoft .Net framework is not installed or is damaged in some way. Therefore applications will fail to launch.
To […]


Network Link Detection in C#

This code snippit will show you how to detect if there is a network link on one of the network adaptors on your system. The function is written in C# and uses the Windows Management Instrumentation to get the link status.
It is ready to use, as is. It has been used on many projects, personal […]


Detecting Installed Microsoft .Net Framework (CLR) Version Information

It can be difficult to detect which versions of the Microsoft .Net framework are installed and available on a Windows device. This article presents a method to detect information about installed Microsoft .Net Framework versions.
In addition to describing the method this article provides a functional class to query and detect the installed CLR versions as […]


website software design wordpress stats