Skip to content

Instantly share code, notes, and snippets.

@hounsell
hounsell / NativeMethods.cs
Created Sep 26, 2014
Get Language Id for File (Part 2)
View NativeMethods.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Text;
using System.Threading.Tasks;
namespace VersionInfo
{
@hounsell
hounsell / RealVersionInfo.cs
Created Sep 26, 2014
Get Language Id for File (Part 1)
View RealVersionInfo.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Permissions;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
namespace VersionInfo
View keybase.md

Keybase proof

I hereby claim:

  • I am hounsell on github.
  • I am hounsell (https://keybase.io/hounsell) on keybase.
  • I have a public key whose fingerprint is 7305 E1B7 2C6B F4F3 1960 25AB 5D62 51BB 272A E38B

To claim this, I am signing this object:

@hounsell
hounsell / ApiProxy.ashx.cs
Last active Aug 29, 2015
Quick and Dirty API Proxy for TCB
View ApiProxy.ashx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Caching;
using System.Net;
using System.Configuration;
using System.IO;
namespace TcbApiProxy
@hounsell
hounsell / KeyReader.cs
Created Feb 12, 2014
Old XmlDocument-based Keyreader
View KeyReader.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.IO;