C#: Select All Active Local IP Addresses June 9, 2018May 13, 2020Munir HusseiniNo Comments To select all active local IP addresses (v4), use the following C# code:
C#: Loading Dynamic Assemblies Into Other AppDomains May 27, 2015September 28, 2017Munir HusseiniNo Comments So you have generated dynamic assemblies (like here) and want to load the assembly into a new (or at least…
Modify Web Platform Installer Configuration with C# October 22, 2014Munir Husseini3 Comments This post shows how to modify the WPI preferences file using C#. This file contains the configuration of the UI version of Web Platform Installer.
Dynamically Determine MIME Types in C# March 10, 2014Munir Husseini5 Comments Suppose you need to determine the MIME type for a given file extension in your code. Since Windows already knows…
A Flexible And Convenient Type Conversion Helper in C# May 21, 2013July 30, 2020Munir HusseiniNo Comments Every once in a while I need to convert objects of an unknown type into a known type; sometimes these…