private void DoRegisterFileTypeAssociation()
        {
            Hashtable commands = new Hashtable();

            commands.Add("open", String.Format("{0} /assemblyListFile:%1", System.Reflection.Assembly.GetEntryAssembly().Location));

            FileTypeAssociation.Create(".ref",                                                                         /* Extension */
                                       "assemblylist/xml",                                                             /* Content type */
                                       "Reflector Assembly List",                                                      /* Full Name */
                                       "Reflector Assembly List",                                                      /* Proper Name */
                                       String.Format("{0},0", System.Reflection.Assembly.GetEntryAssembly().Location), /* Icon path */
                                       commands);
        }
 private void DoUnregisterFileTypeAssociation()
 {
     FileTypeAssociation.Remove(".ref",                     /* Extension */
                                "Reflector Assembly List"); /* Proper Name */
 }