All Projects → resourcelib → Resourcelib

resourcelib / Resourcelib

Licence: mit
C# File Resource Management Library

Projects that are alternatives of or similar to Resourcelib

Drawablecolorchange
Android Library to dynamically change color of drawable.
Stars: ✭ 101 (-48.73%)
Mutual labels:  bitmap, icons
Nedb Promises
A dead-simple promise wrapper for nedb.
Stars: ✭ 190 (-3.55%)
Mutual labels:  cursor
Smos
A comprehensive self-management System
Stars: ✭ 179 (-9.14%)
Mutual labels:  cursor
Cursors
All available cursors
Stars: ✭ 188 (-4.57%)
Mutual labels:  cursor
Framelesshelper
Frameless windows for Qt Widgets and Qt Quick applications. Support Win32, X11, Wayland and macOS.
Stars: ✭ 183 (-7.11%)
Mutual labels:  win32
Richpath
💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can.
Stars: ✭ 2,259 (+1046.7%)
Mutual labels:  icons
Blade Heroicons
A package to easily make use of Heroicons in your Laravel Blade views.
Stars: ✭ 173 (-12.18%)
Mutual labels:  icons
Fileicon
macOS CLI for managing custom icons for files and folders
Stars: ✭ 196 (-0.51%)
Mutual labels:  icons
Jsonapi Utils
Build JSON API-compliant APIs on Rails with no (or less) learning curve.
Stars: ✭ 191 (-3.05%)
Mutual labels:  resource
Awesome Iconjar
44 Collect free icon sets for iconjar. 收集免费的图标包,iconjar 格式(44套)。
Stars: ✭ 188 (-4.57%)
Mutual labels:  icons
Bootstrap Vue
BootstrapVue provides one of the most comprehensive implementations of Bootstrap v4 for Vue.js. With extensive and automated WAI-ARIA accessibility markup.
Stars: ✭ 13,603 (+6805.08%)
Mutual labels:  icons
Signatureview
SignatureView is an open source Android library which allow developers to produce pen and paper like effect for creating signatures on Android
Stars: ✭ 185 (-6.09%)
Mutual labels:  bitmap
Webicon
Icon library
Stars: ✭ 190 (-3.55%)
Mutual labels:  icons
Micon
Micon, The iconic windows 10 font and CSS toolkit.
Stars: ✭ 182 (-7.61%)
Mutual labels:  icons
Kubernetes Icons
[obsolete] Set of icons for Kubernetes diagrams, has been merged into official k8s repo!!
Stars: ✭ 194 (-1.52%)
Mutual labels:  icons
Feathericon
simply generic vector icon collection - including sketch file, svg files, and font files.
Stars: ✭ 178 (-9.64%)
Mutual labels:  icons
Pilosa
Pilosa is an open source, distributed bitmap index that dramatically accelerates queries across multiple, massive data sets.
Stars: ✭ 2,224 (+1028.93%)
Mutual labels:  bitmap
Vue Eva Icons
Is a pack of more than 480 beautiful open source Eva icons as Vue components
Stars: ✭ 189 (-4.06%)
Mutual labels:  icons
Iconshowcase Dashboard
A full-of-features, easy-to-customize, free and open source, Material Design dashboard for icon packs.
Stars: ✭ 197 (+0%)
Mutual labels:  icons
Svelte Awesome
Awesome SVG icon component for Svelte JS, built with Font Awesome icons. Based on Justineo/vue-awesome
Stars: ✭ 193 (-2.03%)
Mutual labels:  icons

ResourceLib C# File Resource Management Library

Build status NuGet NuGet

There are several good articles about reading and writing resources from/to a compiled binary. Most focus on retrieving module version information and modifying version information, mostly in C++. Some detail the same operations for cursors, icons or dialog resources. There is, however, no single .NET library to retrieve and save any type of resources, or any library to edit version resources specifically.

This project is a framework that enumerates resources and implements both read and write of the file version VS_VERSIONINFO, string resources such as company, copyright and product information, RT_GROUP_ICON and RT_ICON, RT_CURSOR, RT_BITMAP, RT_MENU, RT_DIALOG, RT_STRING, RT_ACCELERATOR, RT_FONT and RT_FONTDIR and RT_MANIFEST resources. It's unit-tested and well documented.

Installation

ResourceLib is distributed as a NuGet package:

PM> Install-Package Vestris.ResourceLib

Getting Started

In your project add a reference to Vestris.ResourceLib.dll and a namespace reference.

using Vestris.ResourceLib;

The following example demonstrates enumerating resources by resource type. From the sample atl.dll in the Windows system directory, you will typically get the following resources: MUI, REGISTRY, TYPELIB, and RT_VERSION resource.

string filename = Path.Combine(Environment.SystemDirectory, "atl.dll");
using (ResourceInfo vi = new ResourceInfo())
{
    vi.Load(filename);
    foreach (ResourceId id in vi.ResourceTypes)
    {
        Console.WriteLine(id);
        foreach (Resource resource in vi.Resources[id])
        {
            Console.WriteLine("{0} ({1}) - {2} byte(s)",
                resource.Name, resource.Language, resource.Size);
        }
    }
}

Reference

Contributing

Fork the project on Github, commit changes to your local repository, push changes to your fork, and make a pull request. Bonus points for topic branches. Also see Setting up a Development Environment.

Copyright and License

Copyright (c) Daniel Doubrovkine, Vestris Inc., 2008-2016.

This project is licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].